Submitter | phabricator |
---|---|
Date | Nov. 16, 2017, 6:16 a.m. |
Message ID | <6ea24cc5c9e8757ab1f36cc677d8b85e@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/25605/ |
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 @@ -1976,8 +1976,8 @@ def __init__(self, repo, wrappedctx): super(overlayworkingctx, self).__init__(repo) self._repo = repo + self.clean() self._wrappedctx = wrappedctx - self._clean() def data(self, path): if self.isdirty(path): @@ -2057,7 +2057,7 @@ def isdirty(self, path): return path in self._cache - def _clean(self): + def clean(self): self._cache = {} def _markdirty(self, path, exists, data=None, date=None, flags=''):