diff -r 148e98e74e25 -r 2bfb0598206a mercurial/exchange.py --- a/mercurial/exchange.py Thu Apr 17 17:21:39 2014 -0400 +++ b/mercurial/exchange.py Thu Apr 17 17:59:28 2014 -0400 @@ -733,6 +733,8 @@ repo.hook('b2x-pretransactionclose', throw=True, source=source, url=url, pending=p, **tr.hookargs) tr.close() + repo.hook('b2x-transactionclose', source=source, url=url, + **tr.hookargs) else: r = changegroup.addchangegroup(repo, cg, source, url) finally: