Mercurial > hg
changeset 18119:5264464b5f68
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.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Wed, 19 Dec 2012 14:47:38 +0100 |
parents | e70ff1e599f4 |
children | 88990d3e3d75 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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