Submitter | Pierre-Yves David |
---|---|
Date | Jan. 4, 2013, 1:04 a.m. |
Message ID | <395b8853eb752ec5e132.1357261448@yamac.lan> |
Download | mbox | patch |
Permalink | /patch/374/ |
State | Accepted |
Commit | 46f624780ee8492c5670dcf285938e235ecec325 |
Headers | show |
Comments
Patch
diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py +++ b/mercurial/bundlerepo.py @@ -284,15 +284,10 @@ class bundlerepository(localrepo.localre return bundlepeer(self) 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: raise util.Abort(_('cannot create new bundle repository')) parentpath = ui.config("bundle", "mainreporoot", "")