Commits

Pierre-Yves David committed 46f6247

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.

Comments (0)

Files changed (1)

mercurial/bundlerepo.py

     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: