mercurial/bundlerepo.py
changeset 39763 5ccd791344f3
parent 39604 335ae4d0a552
child 39818 24e493ec2229
--- a/mercurial/bundlerepo.py	Fri Sep 21 21:44:27 2018 -0400
+++ b/mercurial/bundlerepo.py	Tue Sep 18 15:15:24 2018 -0700
@@ -364,14 +364,16 @@
         self.manstart = self._cgunpacker.tell()
         return c
 
-    def _constructmanifest(self):
+    @localrepo.unfilteredpropertycache
+    def manifestlog(self):
         self._cgunpacker.seek(self.manstart)
         # consume the header if it exists
         self._cgunpacker.manifestheader()
         linkmapper = self.unfiltered().changelog.rev
-        m = bundlemanifest(self.svfs, self._cgunpacker, linkmapper)
+        rootstore = bundlemanifest(self.svfs, self._cgunpacker, linkmapper)
         self.filestart = self._cgunpacker.tell()
-        return m
+
+        return manifest.manifestlog(self.svfs, self, rootstore)
 
     def _consumemanifest(self):
         """Consumes the manifest portion of the bundle, setting filestart so the