##// END OF EJS Templates
bundlerepo: remove unused 'repo' parameter...
Martin von Zweigbergk -
r24921:86c0b5c0 default
parent child Browse files
Show More
@@ -177,11 +177,10 b' class bundlemanifest(bundlerevlog, manif'
177 return manifest.manifest.revision(self, nodeorrev)
177 return manifest.manifest.revision(self, nodeorrev)
178
178
179 class bundlefilelog(bundlerevlog, filelog.filelog):
179 class bundlefilelog(bundlerevlog, filelog.filelog):
180 def __init__(self, opener, path, bundle, linkmapper, repo):
180 def __init__(self, opener, path, bundle, linkmapper):
181 filelog.filelog.__init__(self, opener, path)
181 filelog.filelog.__init__(self, opener, path)
182 bundlerevlog.__init__(self, opener, self.indexfile, bundle,
182 bundlerevlog.__init__(self, opener, self.indexfile, bundle,
183 linkmapper)
183 linkmapper)
184 self._repo = repo
185
184
186 def baserevision(self, nodeorrev):
185 def baserevision(self, nodeorrev):
187 return filelog.filelog.revision(self, nodeorrev)
186 return filelog.filelog.revision(self, nodeorrev)
@@ -322,8 +321,7 b' class bundlerepository(localrepo.localre'
322
321
323 if f in self.bundlefilespos:
322 if f in self.bundlefilespos:
324 self.bundle.seek(self.bundlefilespos[f])
323 self.bundle.seek(self.bundlefilespos[f])
325 return bundlefilelog(self.svfs, f, self.bundle,
324 return bundlefilelog(self.svfs, f, self.bundle, self.changelog.rev)
326 self.changelog.rev, self)
327 else:
325 else:
328 return filelog.filelog(self.svfs, f)
326 return filelog.filelog(self.svfs, f)
329
327
General Comments 0
You need to be logged in to leave comments. Login now