--- a/mercurial/localrepo.py Mon Dec 24 02:22:04 2012 +0100
+++ b/mercurial/localrepo.py Sat Dec 22 17:08:15 2012 +0100
@@ -666,7 +666,7 @@
if self.changelog.filteredrevs:
# some changeset are excluded we can't use the cache
bmap = branchmap.branchcache()
- branchmap.update(self, bmap, (self[r] for r in self))
+ bmap.update(self, (self[r] for r in self))
return bmap
else:
branchmap.updatecache(self)
@@ -1437,7 +1437,7 @@
ctxgen = (self[node] for node in newheadnodes
if self.changelog.hasnode(node))
cache = self._branchcache
- branchmap.update(self, cache, ctxgen)
+ cache.update(self, ctxgen)
cache.write(self)
# Ensure the persistent tag cache is updated. Doing it now