##// END OF EJS Templates
manifest: backed out changeset bb3281b3fcaa...
Pierre-Yves David -
r29916:8a658b8b default
parent child Browse files
Show More
@@ -204,8 +204,8 b' class bundlemanifest(bundlerevlog, manif'
204 if isinstance(node, int):
204 if isinstance(node, int):
205 node = self.node(node)
205 node = self.node(node)
206
206
207 if node in self.fulltextcache:
207 if node in self._mancache:
208 result = self.fulltextcache[node].tostring()
208 result = self._mancache[node].text()
209 else:
209 else:
210 result = manifest.manifest.revision(self, nodeorrev)
210 result = manifest.manifest.revision(self, nodeorrev)
211 return result
211 return result
@@ -1130,11 +1130,7 b' class manifest(manifestrevlog):'
1130 if node == revlog.nullid:
1130 if node == revlog.nullid:
1131 return self._newmanifest() # don't upset local cache
1131 return self._newmanifest() # don't upset local cache
1132 if node in self._mancache:
1132 if node in self._mancache:
1133 cached = self._mancache[node]
1133 return self._mancache[node]
1134 if (isinstance(cached, manifestctx) or
1135 isinstance(cached, treemanifestctx)):
1136 cached = cached.read()
1137 return cached
1138 if self._treeondisk:
1134 if self._treeondisk:
1139 def gettext():
1135 def gettext():
1140 return self.revision(node)
1136 return self.revision(node)
General Comments 0
You need to be logged in to leave comments. Login now