mercurial/localrepo.py
changeset 5988 ee317dbfb9d0
parent 5985 850494d62674
child 6001 30d2fecaab76
child 6098 65340b8231eb
equal deleted inserted replaced
5987:f2201aee3dc8 5988:ee317dbfb9d0
  1898             tr.close()
  1898             tr.close()
  1899         finally:
  1899         finally:
  1900             del tr
  1900             del tr
  1901 
  1901 
  1902         if changesets > 0:
  1902         if changesets > 0:
       
  1903             # forcefully update the on-disk branch cache
       
  1904             self.ui.debug(_("updating the branch cache\n"))
       
  1905             self.branchcache = None
       
  1906             self.branchtags()
  1903             self.hook("changegroup", node=hex(self.changelog.node(cor+1)),
  1907             self.hook("changegroup", node=hex(self.changelog.node(cor+1)),
  1904                       source=srctype, url=url)
  1908                       source=srctype, url=url)
  1905 
  1909 
  1906             for i in xrange(cor + 1, cnr + 1):
  1910             for i in xrange(cor + 1, cnr + 1):
  1907                 self.hook("incoming", node=hex(self.changelog.node(i)),
  1911                 self.hook("incoming", node=hex(self.changelog.node(i)),