diff -r f2201aee3dc8 -r ee317dbfb9d0 mercurial/localrepo.py --- a/mercurial/localrepo.py Sun Feb 03 21:03:46 2008 -0200 +++ b/mercurial/localrepo.py Sun Feb 03 21:03:46 2008 -0200 @@ -1900,6 +1900,10 @@ del tr if changesets > 0: + # forcefully update the on-disk branch cache + self.ui.debug(_("updating the branch cache\n")) + self.branchcache = None + self.branchtags() self.hook("changegroup", node=hex(self.changelog.node(cor+1)), source=srctype, url=url)