Show More
@@ -1507,8 +1507,8 class manifestlog(object): | |||||
1507 |
|
1507 | |||
1508 | self._treemanifests = usetreemanifest |
|
1508 | self._treemanifests = usetreemanifest | |
1509 |
|
1509 | |||
1510 |
self._re |
|
1510 | self._rootstore = repo._constructmanifest() | |
1511 |
self._re |
|
1511 | self._rootstore._setupmanifestcachehooks(repo) | |
1512 | self._narrowmatch = repo.narrowmatch() |
|
1512 | self._narrowmatch = repo.narrowmatch() | |
1513 |
|
1513 | |||
1514 | # A cache of the manifestctx or treemanifestctx for each directory |
|
1514 | # A cache of the manifestctx or treemanifestctx for each directory | |
@@ -1537,7 +1537,7 class manifestlog(object): | |||||
1537 | if not self._narrowmatch.visitdir(tree[:-1] or '.'): |
|
1537 | if not self._narrowmatch.visitdir(tree[:-1] or '.'): | |
1538 | return excludeddirmanifestctx(tree, node) |
|
1538 | return excludeddirmanifestctx(tree, node) | |
1539 | if tree: |
|
1539 | if tree: | |
1540 |
if self._re |
|
1540 | if self._rootstore._treeondisk: | |
1541 | if verify: |
|
1541 | if verify: | |
1542 | # Side-effect is LookupError is raised if node doesn't |
|
1542 | # Side-effect is LookupError is raised if node doesn't | |
1543 | # exist. |
|
1543 | # exist. | |
@@ -1551,7 +1551,7 class manifestlog(object): | |||||
1551 | else: |
|
1551 | else: | |
1552 | if verify: |
|
1552 | if verify: | |
1553 | # Side-effect is LookupError is raised if node doesn't exist. |
|
1553 | # Side-effect is LookupError is raised if node doesn't exist. | |
1554 |
self._re |
|
1554 | self._rootstore.rev(node) | |
1555 |
|
1555 | |||
1556 | if self._treemanifests: |
|
1556 | if self._treemanifests: | |
1557 | m = treemanifestctx(self, '', node) |
|
1557 | m = treemanifestctx(self, '', node) | |
@@ -1567,14 +1567,14 class manifestlog(object): | |||||
1567 | return m |
|
1567 | return m | |
1568 |
|
1568 | |||
1569 | def getstorage(self, tree): |
|
1569 | def getstorage(self, tree): | |
1570 |
return self._re |
|
1570 | return self._rootstore.dirlog(tree) | |
1571 |
|
1571 | |||
1572 | def clearcaches(self, clear_persisted_data=False): |
|
1572 | def clearcaches(self, clear_persisted_data=False): | |
1573 | self._dirmancache.clear() |
|
1573 | self._dirmancache.clear() | |
1574 |
self._re |
|
1574 | self._rootstore.clearcaches(clear_persisted_data=clear_persisted_data) | |
1575 |
|
1575 | |||
1576 | def rev(self, node): |
|
1576 | def rev(self, node): | |
1577 |
return self._re |
|
1577 | return self._rootstore.rev(node) | |
1578 |
|
1578 | |||
1579 | @interfaceutil.implementer(repository.imanifestrevisionwritable) |
|
1579 | @interfaceutil.implementer(repository.imanifestrevisionwritable) | |
1580 | class memmanifestctx(object): |
|
1580 | class memmanifestctx(object): |
General Comments 0
You need to be logged in to leave comments.
Login now