Submitter | phabricator |
---|---|
Date | Nov. 16, 2017, 6:16 a.m. |
Message ID | <f7a0063168b8eed11a72c441d92e6fc1@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/25606/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -1973,11 +1973,14 @@ is `False`, the file was deleted. """ - def __init__(self, repo, wrappedctx): + def __init__(self, repo): super(overlayworkingctx, self).__init__(repo) self._repo = repo self.clean() + + def setbase(self, wrappedctx): self._wrappedctx = wrappedctx + self._parents = [wrappedctx] def data(self, path): if self.isdirty(path):