Patchwork D7502: changectx: mark parent of changesets as non filtered

login
register
mail settings
Submitter phabricator
Date Jan. 16, 2020, 2:26 p.m.
Message ID <d641e1f1789a1b2d027be15ab75bd7a1@localhost.localdomain>
Download mbox | patch
Permalink /patch/44437/
State Not Applicable
Headers show

Comments

phabricator - Jan. 16, 2020, 2:26 p.m.
Alphare updated this revision to Diff 19366.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7502?vs=18387&id=19366

BRANCH
  default

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

REVISION DETAIL
  https://phab.mercurial-scm.org/D7502

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
@@ -533,8 +533,11 @@ 
 
         p1, p2 = cl.parentrevs(self._rev)
         if p2 == nullrev:
-            return [repo[p1]]
-        return [repo[p1], repo[p2]]
+            return [changectx(repo, p1, cl.node(p1), maybe_filtered=False)]
+        return [
+            changectx(repo, p1, cl.node(p1), maybe_filtered=False),
+            changectx(repo, p2, cl.node(p2), maybe_filtered=False),
+        ]
 
     def changeset(self):
         c = self._changeset