Mercurial > hg
changeset 44479:7518ea76eff4
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
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sat, 07 Mar 2020 16:51:21 -0500 |
parents | 6d953b3fc2bd |
children | f19491aae641 |
files | hgext/git/manifest.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.