branchmap: _updatebranchmap does not need to be filtered
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Wed, 19 Dec 2012 14:47:38 +0100
changeset 18119 5264464b5f68
parent 18118 e70ff1e599f4
child 18120 88990d3e3d75
branchmap: _updatebranchmap does not need to be filtered The `_updatebranchmap` method on repo does not need to be filtered as all callers are already handling filtering themself. The fact it is filtered may had even lead to buggy behaviors, but by chances the method make very sparse use of the repo object.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Wed Dec 19 14:46:57 2012 +0100
+++ b/mercurial/localrepo.py	Wed Dec 19 14:47:38 2012 +0100
@@ -730,7 +730,6 @@
             bt[bn] = self._branchtip(heads)
         return bt
 
-    @unfilteredmethod # Until we get a smarter cache management
     def _updatebranchcache(self, partial, ctxgen):
         """Given a branchhead cache, partial, that may have extra nodes or be
         missing heads, and a generator of nodes that are at least a superset of