D7491: changectx: mark the parents of the working copy as non filtered
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Fri Nov 22 09:23:12 UTC 2019
marmoute created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
If we successfully accessed the working copy, its parents are not filtered.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D7491
AFFECTED FILES
mercurial/context.py
CHANGE DETAILS
diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -1512,7 +1512,9 @@
p = p[:-1]
# use unfiltered repo to delay/avoid loading obsmarkers
unfi = self._repo.unfiltered()
- return [changectx(self._repo, unfi.changelog.rev(n), n) for n in p]
+ return [
+ changectx(self._repo, unfi.changelog.rev(n), n, False) for n in p
+ ]
def _fileinfo(self, path):
# populate __dict__['_manifest'] as workingctx has no _manifestdelta
To: marmoute, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list