Show More
@@ -1262,8 +1262,8 b' class manifestlog(object):' | |||
|
1262 | 1262 | self._mancache = self._oldmanifest._mancache |
|
1263 | 1263 | |
|
1264 | 1264 | def __getitem__(self, node): |
|
1265 |
"""Retrieves the manifest instance for the given node. Throws a |
|
|
1266 | if not found. | |
|
1265 | """Retrieves the manifest instance for the given node. Throws a | |
|
1266 | LookupError if not found. | |
|
1267 | 1267 | """ |
|
1268 | 1268 | if node in self._mancache: |
|
1269 | 1269 | cachemf = self._mancache[node] |
@@ -1273,6 +1273,9 b' class manifestlog(object):' | |||
|
1273 | 1273 | isinstance(cachemf, treemanifestctx)): |
|
1274 | 1274 | return cachemf |
|
1275 | 1275 | |
|
1276 | if node not in self._revlog.nodemap: | |
|
1277 | raise LookupError(node, self._revlog.indexfile, | |
|
1278 | _('no node')) | |
|
1276 | 1279 | if self._treeinmem: |
|
1277 | 1280 | m = treemanifestctx(self._repo, '', node) |
|
1278 | 1281 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now