mercurial/localrepo.py
changeset 5988 ee317dbfb9d0
parent 5985 850494d62674
child 6001 30d2fecaab76
child 6098 65340b8231eb
--- 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)