Mercurial > hg
changeset 18216:46f624780ee8
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.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 28 Dec 2012 02:34:32 +0100 |
parents | 5e851ca54189 |
children | 46cc3b74e1c5 |
files | mercurial/bundlerepo.py |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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: