Submitter | phabricator |
---|---|
Date | Dec. 7, 2017, 9:22 p.m. |
Message ID | <a8227a7d5cf5dad4d4d56b0d52a99ff1@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/26011/ |
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 @@ -2026,11 +2026,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):