D7491: changectx: mark the parents of the working copy as non filtered

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Sat Nov 23 20:00:09 EST 2019


Closed by commit rHG0e72b2518f0e: changectx: mark the parents of the working copy as non filtered (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

CHANGED PRIOR TO COMMIT
  https://phab.mercurial-scm.org/D7491?vs=18364&id=18376#toc

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7491?vs=18364&id=18376

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7491/new/

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
@@ -1518,7 +1518,12 @@
             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, maybe_filtered=False
+            )
+            for n in p
+        ]
 
     def _fileinfo(self, path):
         # populate __dict__['_manifest'] as workingctx has no _manifestdelta



To: marmoute, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list