equal
deleted
inserted
replaced
284 return bundlepeer(self) |
284 return bundlepeer(self) |
285 |
285 |
286 def getcwd(self): |
286 def getcwd(self): |
287 return os.getcwd() # always outside the repo |
287 return os.getcwd() # always outside the repo |
288 |
288 |
289 def _cacheabletip(self): |
|
290 # we should not cache data from the bundle on disk |
|
291 ret = super(bundlerepository, self)._cacheabletip() |
|
292 return min(self.changelog.disktiprev, ret) |
|
293 |
|
294 |
289 |
295 def instance(ui, path, create): |
290 def instance(ui, path, create): |
296 if create: |
291 if create: |
297 raise util.Abort(_('cannot create new bundle repository')) |
292 raise util.Abort(_('cannot create new bundle repository')) |
298 parentpath = ui.config("bundle", "mainreporoot", "") |
293 parentpath = ui.config("bundle", "mainreporoot", "") |