Comments
Patch
@@ -1254,14 +1254,16 @@ class manifestlog(object):
usetreemanifest = opts.get('treemanifest', usetreemanifest)
self._treeinmem = usetreemanifest
- # We'll separate this into it's own cache once oldmanifest is no longer
- # used
- self._mancache = self._revlog._mancache
-
@property
def _revlog(self):
return self._mfaccessor.revlog
+ @property
+ def _mancache(self):
+ # We'll move this cache onto the manifestlog directly once the original
+ # manifest class goes away.
+ return self._revlog._mancache
+
def __getitem__(self, node):
"""Retrieves the manifest instance for the given node. Throws a KeyError
if not found.