equal
deleted
inserted
replaced
1252 opts = getattr(opener, 'options', None) |
1252 opts = getattr(opener, 'options', None) |
1253 if opts is not None: |
1253 if opts is not None: |
1254 usetreemanifest = opts.get('treemanifest', usetreemanifest) |
1254 usetreemanifest = opts.get('treemanifest', usetreemanifest) |
1255 self._treeinmem = usetreemanifest |
1255 self._treeinmem = usetreemanifest |
1256 |
1256 |
|
1257 self._oldmanifest = repo._constructmanifest() |
|
1258 self._revlog = self._oldmanifest |
|
1259 |
1257 # We'll separate this into it's own cache once oldmanifest is no longer |
1260 # We'll separate this into it's own cache once oldmanifest is no longer |
1258 # used |
1261 # used |
1259 self._mancache = repo.manifest._mancache |
1262 self._mancache = self._oldmanifest._mancache |
1260 |
|
1261 @property |
|
1262 def _revlog(self): |
|
1263 return self._repo.manifest |
|
1264 |
1263 |
1265 def __getitem__(self, node): |
1264 def __getitem__(self, node): |
1266 """Retrieves the manifest instance for the given node. Throws a KeyError |
1265 """Retrieves the manifest instance for the given node. Throws a KeyError |
1267 if not found. |
1266 if not found. |
1268 """ |
1267 """ |