Show More
@@ -150,10 +150,14 b' class bundlemanifest(bundlerevlog, manif' | |||||
150 | linkmapper) |
|
150 | linkmapper) | |
151 |
|
151 | |||
152 | class bundlefilelog(bundlerevlog, filelog.filelog): |
|
152 | class bundlefilelog(bundlerevlog, filelog.filelog): | |
153 | def __init__(self, opener, path, bundle, linkmapper): |
|
153 | def __init__(self, opener, path, bundle, linkmapper, repo): | |
154 | filelog.filelog.__init__(self, opener, path) |
|
154 | filelog.filelog.__init__(self, opener, path) | |
155 | bundlerevlog.__init__(self, opener, self.indexfile, bundle, |
|
155 | bundlerevlog.__init__(self, opener, self.indexfile, bundle, | |
156 | linkmapper) |
|
156 | linkmapper) | |
|
157 | self._repo = repo | |||
|
158 | ||||
|
159 | def _file(self, f): | |||
|
160 | self._repo.file(f) | |||
157 |
|
161 | |||
158 | class bundlerepository(localrepo.localrepository): |
|
162 | class bundlerepository(localrepo.localrepository): | |
159 | def __init__(self, ui, path, bundlename): |
|
163 | def __init__(self, ui, path, bundlename): | |
@@ -244,7 +248,7 b' class bundlerepository(localrepo.localre' | |||||
244 | if f in self.bundlefilespos: |
|
248 | if f in self.bundlefilespos: | |
245 | self.bundle.seek(self.bundlefilespos[f]) |
|
249 | self.bundle.seek(self.bundlefilespos[f]) | |
246 | return bundlefilelog(self.sopener, f, self.bundle, |
|
250 | return bundlefilelog(self.sopener, f, self.bundle, | |
247 | self.changelog.rev) |
|
251 | self.changelog.rev, self) | |
248 | else: |
|
252 | else: | |
249 | return filelog.filelog(self.sopener, f) |
|
253 | return filelog.filelog(self.sopener, f) | |
250 |
|
254 |
General Comments 0
You need to be logged in to leave comments.
Login now