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

login
register
mail settings
Submitter phabricator
Date Nov. 24, 2019, 1 a.m.
Message ID <19ca419e20a1e5a744c51ab98b0e03c7@localhost.localdomain>
Download mbox | patch
Permalink /patch/43504/
State Not Applicable
Headers show

Comments

phabricator - Nov. 24, 2019, 1 a.m.
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




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

Patch

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