##// END OF EJS Templates
manifest: rename manifestlog._treeinmem to ._treemanifests...
Gregory Szorc -
r39281:071f97d0 default
parent child Browse files
Show More
@@ -1418,7 +1418,8 b' class manifestlog(object):'
1418 if opts is not None:
1418 if opts is not None:
1419 usetreemanifest = opts.get('treemanifest', usetreemanifest)
1419 usetreemanifest = opts.get('treemanifest', usetreemanifest)
1420 cachesize = opts.get('manifestcachesize', cachesize)
1420 cachesize = opts.get('manifestcachesize', cachesize)
1421 self._treeinmem = usetreemanifest
1421
1422 self._treemanifests = usetreemanifest
1422
1423
1423 self._revlog = repo._constructmanifest()
1424 self._revlog = repo._constructmanifest()
1424 self._revlog._setupmanifestcachehooks(repo)
1425 self._revlog._setupmanifestcachehooks(repo)
@@ -1466,7 +1467,7 b' class manifestlog(object):'
1466 if node not in self._revlog.nodemap:
1467 if node not in self._revlog.nodemap:
1467 raise LookupError(node, self._revlog.indexfile,
1468 raise LookupError(node, self._revlog.indexfile,
1468 _('no node'))
1469 _('no node'))
1469 if self._treeinmem:
1470 if self._treemanifests:
1470 m = treemanifestctx(self, '', node)
1471 m = treemanifestctx(self, '', node)
1471 else:
1472 else:
1472 m = manifestctx(self, node)
1473 m = manifestctx(self, node)
General Comments 0
You need to be logged in to leave comments. Login now