##// END OF EJS Templates
filter: `updatebranchcache` during `addchangegroup` instead of after lock...
Pierre-Yves David -
r17670:9dbd5fa6 default
parent child Browse files
Show More
@@ -2439,10 +2439,10 b' class localrepository(object):'
2439 tr.close()
2439 tr.close()
2440
2440
2441 if changesets > 0:
2441 if changesets > 0:
2442 self.updatebranchcache()
2442 def runhooks():
2443 def runhooks():
2443 # forcefully update the on-disk branch cache
2444 # forcefully update the on-disk branch cache
2444 self.ui.debug("updating the branch cache\n")
2445 self.ui.debug("updating the branch cache\n")
2445 self.updatebranchcache()
2446 self.hook("changegroup", node=hex(cl.node(clstart)),
2446 self.hook("changegroup", node=hex(cl.node(clstart)),
2447 source=srctype, url=url)
2447 source=srctype, url=url)
2448
2448
General Comments 0
You need to be logged in to leave comments. Login now