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

login
register
mail settings
Submitter phabricator
Date Nov. 24, 2019, 12:21 a.m.
Message ID <4a0d3a1233ce22b8de82b6bcd735c461@localhost.localdomain>
Download mbox | patch
Permalink /patch/43492/
State Not Applicable
Headers show

Comments

phabricator - Nov. 24, 2019, 12:21 a.m.
marmoute updated this revision to Diff 18364.

REPOSITORY
  rHG Mercurial

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

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
Cc: mercurial-devel

Patch

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -1518,7 +1518,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