git: add readfast() method to manifest
authorAugie Fackler <raf@durin42.com>
Sat, 07 Mar 2020 16:51:21 -0500
changeset 44491 7518ea76eff4
parent 44490 6d953b3fc2bd
child 44492 f19491aae641
git: add readfast() method to manifest Mysteriously, on a different system a handful of things don't work without this, including log. This is especially odd to be because log works in the test. In any event, it's legal for readfast() to just return read(), so that's what we do. Differential Revision: https://phab.mercurial-scm.org/D8262
hgext/git/manifest.py
--- a/hgext/git/manifest.py	Fri Mar 06 14:14:05 2020 -0800
+++ b/hgext/git/manifest.py	Sat Mar 07 16:51:21 2020 -0500
@@ -195,6 +195,9 @@
     def read(self):
         return gittreemanifest(self._repo, self._tree, None)
 
+    def readfast(self, shallow=False):
+        return self.read()
+
     def copy(self):
         # NB: it's important that we return a memgittreemanifestctx
         # because the caller expects a mutable manifest.