Patchwork D8262: git: add readfast() method to manifest

login
register
mail settings
Submitter phabricator
Date March 9, 2020, 10:03 a.m.
Message ID <f75ac2988f703c0765f06a372f002f63@localhost.localdomain>
Download mbox | patch
Permalink /patch/45628/
State Not Applicable
Headers show

Comments

phabricator - March 9, 2020, 10:03 a.m.
Closed by commit rHGff465d38cf45: git: add readfast() method to manifest (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8262?vs=20611&id=20619

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8262/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8262

AFFECTED FILES
  hgext/git/manifest.py

CHANGE DETAILS




To: durin42, #hg-reviewers, pulkit
Cc: pulkit, martinvonz, mercurial-devel

Patch

diff --git a/hgext/git/manifest.py b/hgext/git/manifest.py
--- a/hgext/git/manifest.py
+++ b/hgext/git/manifest.py
@@ -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.