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
--- 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