localrepo: drop `_cacheabletip` method
It iss dead code now.
--- a/mercurial/localrepo.py Fri Jan 04 01:25:55 2013 +0100
+++ b/mercurial/localrepo.py Fri Jan 04 01:37:38 2013 +0100
@@ -650,18 +650,6 @@
marks.append(bookmark)
return sorted(marks)
- def _cacheabletip(self):
- """tip-most revision stable enought to used in persistent cache
-
- This function is overwritten by MQ to ensure we do not write cache for
- a part of the history that will likely change.
-
- Efficient handling of filtered revision in branchcache should offer a
- better alternative. But we are using this approach until it is ready.
- """
- cl = self.changelog
- return cl.rev(cl.tip())
-
def branchmap(self):
'''returns a dictionary {branch: [branchheads]}'''
if self.filtername and not self.changelog.filteredrevs: