Show More
@@ -343,8 +343,7 b' class bundlerepository(localrepo.localre' | |||
|
343 | 343 | self.manstart = self.bundle.tell() |
|
344 | 344 | return c |
|
345 | 345 | |
|
346 | @localrepo.unfilteredpropertycache | |
|
347 | def manifest(self): | |
|
346 | def _constructmanifest(self): | |
|
348 | 347 | self.bundle.seek(self.manstart) |
|
349 | 348 | # consume the header if it exists |
|
350 | 349 | self.bundle.manifestheader() |
@@ -506,6 +506,12 b' class localrepository(object):' | |||
|
506 | 506 | |
|
507 | 507 | @storecache('00manifest.i') |
|
508 | 508 | def manifest(self): |
|
509 | return self._constructmanifest() | |
|
510 | ||
|
511 | def _constructmanifest(self): | |
|
512 | # This is a temporary function while we migrate from manifest to | |
|
513 | # manifestlog. It allows bundlerepo and unionrepo to intercept the | |
|
514 | # manifest creation. | |
|
509 | 515 | return manifest.manifest(self.svfs) |
|
510 | 516 | |
|
511 | 517 | @property |
@@ -208,8 +208,7 b' class unionrepository(localrepo.localrep' | |||
|
208 | 208 | node = self.repo2.changelog.node(rev2) |
|
209 | 209 | return self.changelog.rev(node) |
|
210 | 210 | |
|
211 | @localrepo.unfilteredpropertycache | |
|
212 | def manifest(self): | |
|
211 | def _constructmanifest(self): | |
|
213 | 212 | return unionmanifest(self.svfs, self.repo2.svfs, |
|
214 | 213 | self.unfiltered()._clrev) |
|
215 | 214 |
General Comments 0
You need to be logged in to leave comments.
Login now