--- a/mercurial/context.py Fri Apr 06 13:11:40 2018 -0700
+++ b/mercurial/context.py Sun Mar 25 18:27:43 2018 +0900
@@ -1330,6 +1330,11 @@
p = p[:-1]
return [changectx(self._repo, x) for x in p]
+ def _fileinfo(self, path):
+ # populate __dict__['_manifest'] as workingctx has no _manifestdelta
+ self._manifest
+ return super(workingctx, self)._fileinfo(path)
+
def filectx(self, path, filelog=None):
"""get a file context from the working directory"""
return workingfilectx(self._repo, path, workingctx=self,