mercurial/bundlerepo.py
changeset 37497 1541e1a8e87d
parent 37331 c68262401c8c
child 37635 cc8c06835097
equal deleted inserted replaced
37496:1765ed63db40 37497:1541e1a8e87d
   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):