# HG changeset patch # User Pierre-Yves David # Date 1574353664 -3600 # Node ID 98349eddceef2a5929286c4f56fda4a7058383a6 # Parent c472970339d207805762b3e8b4b04263f6fe3066 changectx: mark parent of changesets as non filtered If a node is not filtered, its parents cannot be filtered. Differential Revision: https://phab.mercurial-scm.org/D7502 diff -r c472970339d2 -r 98349eddceef mercurial/context.py --- 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