# HG changeset patch # User Pierre-Yves David # Date 1355924858 -3600 # Node ID 5264464b5f68f17d8eec9cbddcab6e86391c577e # Parent e70ff1e599f4e06fd6cd76a99e38d9793ebb0473 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. diff -r e70ff1e599f4 -r 5264464b5f68 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