# HG changeset patch # User Pierre-Yves David # Date 1574556899 28800 # Node ID f3b23d5c15fd09a779ba9cca020d7677a968f29b # Parent d4c2221240a685050d4b7ec8de30d2efdc151903 changectx: mark the parents of the working copy as non filtered If we successfully accessed the working copy, its parents are not filtered. Differential Revision: https://phab.mercurial-scm.org/D7491 diff -r d4c2221240a6 -r f3b23d5c15fd mercurial/context.py --- a/mercurial/context.py Thu Nov 21 19:56:47 2019 +0100 +++ b/mercurial/context.py Sat Nov 23 16:54:59 2019 -0800 @@ -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