Submitter | phabricator |
---|---|
Date | Dec. 1, 2017, 8:09 a.m. |
Message ID | <7a2655e14a98188ab2c982d3cdd792fc@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/25853/ |
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 @@ -2021,11 +2021,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):