Show More
@@ -32,6 +32,7 b' class bundlerevlog(revlog.revlog):' | |||||
32 | self.bundle = bundle |
|
32 | self.bundle = bundle | |
33 | self.basemap = {} |
|
33 | self.basemap = {} | |
34 | n = len(self) |
|
34 | n = len(self) | |
|
35 | self.disktiprev = n - 1 | |||
35 | chain = None |
|
36 | chain = None | |
36 | self.bundlenodes = [] |
|
37 | self.bundlenodes = [] | |
37 | while True: |
|
38 | while True: | |
@@ -284,9 +285,11 b' class bundlerepository(localrepo.localre' | |||||
284 | def getcwd(self): |
|
285 | def getcwd(self): | |
285 | return os.getcwd() # always outside the repo |
|
286 | return os.getcwd() # always outside the repo | |
286 |
|
287 | |||
287 | def _writebranchcache(self, branches, tip, tiprev): |
|
288 | def _cacheabletip(self): | |
288 | # don't overwrite the disk cache with bundle-augmented data |
|
289 | # we should not cache data from the bundle on disk | |
289 | pass |
|
290 | ret = super(bundlerepository, self)._cacheabletip() | |
|
291 | return min(self.changelog.disktiprev, ret) | |||
|
292 | ||||
290 |
|
293 | |||
291 | def instance(ui, path, create): |
|
294 | def instance(ui, path, create): | |
292 | if create: |
|
295 | if create: |
General Comments 0
You need to be logged in to leave comments.
Login now