diff -r 082d6929fd4d -r 47f00b0de337 mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Dec 21 17:19:52 2012 +0100 +++ b/mercurial/localrepo.py Wed Jan 02 01:36:57 2013 +0100 @@ -652,8 +652,6 @@ def branchmap(self): '''returns a dictionary {branch: [branchheads]}''' - if self.filtername and not self.changelog.filteredrevs: - return self.unfiltered().branchmap() branchmap.updatecache(self) return self._branchcaches[self.filtername]