##// END OF EJS Templates
bundle2: call a hook after the transaction is closed...
Pierre-Yves David -
r21156:2bfb0598 default
parent child Browse files
Show More
@@ -733,6 +733,8 b' def unbundle(repo, cg, heads, source, ur'
733 repo.hook('b2x-pretransactionclose', throw=True, source=source,
733 repo.hook('b2x-pretransactionclose', throw=True, source=source,
734 url=url, pending=p, **tr.hookargs)
734 url=url, pending=p, **tr.hookargs)
735 tr.close()
735 tr.close()
736 repo.hook('b2x-transactionclose', source=source, url=url,
737 **tr.hookargs)
736 else:
738 else:
737 r = changegroup.addchangegroup(repo, cg, source, url)
739 r = changegroup.addchangegroup(repo, cg, source, url)
738 finally:
740 finally:
General Comments 0
You need to be logged in to leave comments. Login now