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