215 return bundlemanifest( |
215 return bundlemanifest( |
216 self.opener, self.bundle, self._linkmapper, |
216 self.opener, self.bundle, self._linkmapper, |
217 self._dirlogstarts, dir=d) |
217 self._dirlogstarts, dir=d) |
218 return super(bundlemanifest, self).dirlog(d) |
218 return super(bundlemanifest, self).dirlog(d) |
219 |
219 |
220 class bundlefilelog(bundlerevlog, filelog.filelog): |
220 class bundlefilelog(filelog.filelog): |
221 def __init__(self, opener, path, cgunpacker, linkmapper): |
221 def __init__(self, opener, path, cgunpacker, linkmapper): |
222 filelog.filelog.__init__(self, opener, path) |
222 filelog.filelog.__init__(self, opener, path) |
223 bundlerevlog.__init__(self, opener, self.indexfile, cgunpacker, |
223 self._revlog = bundlerevlog(opener, self.indexfile, |
224 linkmapper) |
224 cgunpacker, linkmapper) |
225 |
225 |
226 def baserevision(self, nodeorrev): |
226 def baserevision(self, nodeorrev): |
227 return filelog.filelog.revision(self, nodeorrev, raw=True) |
227 return filelog.filelog.revision(self, nodeorrev, raw=True) |
228 |
228 |
229 class bundlepeer(localrepo.localpeer): |
229 class bundlepeer(localrepo.localpeer): |