Mercurial > hg
changeset 30373:31de088945cd
manifest: add bundlemanifestlog support
As part of deprecating manifest.manifest we need to make bundlerepo support
manifestlog.
author | Durham Goode <durham@fb.com> |
---|---|
date | Fri, 11 Nov 2016 01:15:59 -0800 |
parents | 7c7d845f8b64 |
children | f2d146d1e8d6 |
files | mercurial/bundlerepo.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Thu Nov 10 02:13:19 2016 -0800 +++ b/mercurial/bundlerepo.py Fri Nov 11 01:15:59 2016 -0800 @@ -187,9 +187,9 @@ finally: self.filteredrevs = oldfilter -class bundlemanifest(bundlerevlog, manifest.manifest): +class bundlemanifest(bundlerevlog, manifest.manifestrevlog): def __init__(self, opener, bundle, linkmapper, dirlogstarts=None, dir=''): - manifest.manifest.__init__(self, opener, dir=dir) + manifest.manifestrevlog.__init__(self, opener, dir=dir) bundlerevlog.__init__(self, opener, self.indexfile, bundle, linkmapper) if dirlogstarts is None: @@ -207,7 +207,7 @@ if node in self.fulltextcache: result = self.fulltextcache[node].tostring() else: - result = manifest.manifest.revision(self, nodeorrev) + result = manifest.manifestrevlog.revision(self, nodeorrev) return result def dirlog(self, d):