Show More
@@ -204,8 +204,8 b' class bundlemanifest(bundlerevlog, manif' | |||
|
204 | 204 | if isinstance(node, int): |
|
205 | 205 | node = self.node(node) |
|
206 | 206 | |
|
207 |
if node in self. |
|
|
208 |
result = self. |
|
|
207 | if node in self._mancache: | |
|
208 | result = self._mancache[node].text() | |
|
209 | 209 | else: |
|
210 | 210 | result = manifest.manifest.revision(self, nodeorrev) |
|
211 | 211 | return result |
@@ -1130,11 +1130,7 b' class manifest(manifestrevlog):' | |||
|
1130 | 1130 | if node == revlog.nullid: |
|
1131 | 1131 | return self._newmanifest() # don't upset local cache |
|
1132 | 1132 | if node in self._mancache: |
|
1133 |
|
|
|
1134 | if (isinstance(cached, manifestctx) or | |
|
1135 | isinstance(cached, treemanifestctx)): | |
|
1136 | cached = cached.read() | |
|
1137 | return cached | |
|
1133 | return self._mancache[node] | |
|
1138 | 1134 | if self._treeondisk: |
|
1139 | 1135 | def gettext(): |
|
1140 | 1136 | return self.revision(node) |
General Comments 0
You need to be logged in to leave comments.
Login now