mercurial/context.py
changeset 44354 2e2cfc3bea0b
parent 44263 beea86e4d332
child 44365 7c4b98a4e536
--- a/mercurial/context.py	Thu Jan 16 23:06:01 2020 +0100
+++ b/mercurial/context.py	Tue Feb 11 00:08:28 2020 -0500
@@ -267,7 +267,7 @@
     def _fileinfo(self, path):
         if '_manifest' in self.__dict__:
             try:
-                return self._manifest[path], self._manifest.flags(path)
+                return self._manifest.find(path)
             except KeyError:
                 raise error.ManifestLookupError(
                     self._node, path, _(b'not found in manifest')