bundlerepo: drop use of `_cacheabletip`
Now that bundlerepo use a read only VFS, we do not worry about what part of the
branchmap is written back to disk. Nothing is written at all.
--- a/mercurial/bundlerepo.py Fri Dec 28 02:32:47 2012 +0100
+++ b/mercurial/bundlerepo.py Fri Dec 28 02:34:32 2012 +0100
@@ -286,11 +286,6 @@
def getcwd(self):
return os.getcwd() # always outside the repo
- def _cacheabletip(self):
- # we should not cache data from the bundle on disk
- ret = super(bundlerepository, self)._cacheabletip()
- return min(self.changelog.disktiprev, ret)
-
def instance(ui, path, create):
if create: