##// END OF EJS Templates
bundlerepo: let bundle repo look in the _mancache...
Durham Goode -
r26399:1f0e78f8 default
parent child Browse files
Show More
@@ -195,7 +195,15 b' class bundlemanifest(bundlerevlog, manif'
195 linkmapper)
195 linkmapper)
196
196
197 def baserevision(self, nodeorrev):
197 def baserevision(self, nodeorrev):
198 return manifest.manifest.revision(self, nodeorrev)
198 node = nodeorrev
199 if isinstance(node, int):
200 node = self.node(node)
201
202 if node in self._mancache:
203 result = self._mancache[node][0].text()
204 else:
205 result = manifest.manifest.revision(self, nodeorrev)
206 return result
199
207
200 class bundlefilelog(bundlerevlog, filelog.filelog):
208 class bundlefilelog(bundlerevlog, filelog.filelog):
201 def __init__(self, opener, path, bundle, linkmapper):
209 def __init__(self, opener, path, bundle, linkmapper):
General Comments 0
You need to be logged in to leave comments. Login now