# HG changeset patch # User Pierre-Yves David # Date 2019-11-24 00:54:59 # Node ID 0e72b2518f0e0287d946958e8b3f776153424609 # Parent a1cd36171ea1f40e1cfd5a3bbaddb3c9085feb89 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 --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -1518,7 +1518,12 @@ class workingctx(committablectx): 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