mercurial/context.py
changeset 44109 98349eddceef
parent 44108 c472970339d2
child 44263 beea86e4d332
--- a/mercurial/context.py	Thu Nov 21 23:46:51 2019 +0100
+++ b/mercurial/context.py	Thu Nov 21 17:27:44 2019 +0100
@@ -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