equal
deleted
inserted
replaced
731 cl = repo.unfiltered().changelog |
731 cl = repo.unfiltered().changelog |
732 p = cl.writepending() and repo.root or "" |
732 p = cl.writepending() and repo.root or "" |
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: |
739 if tr is not None: |
741 if tr is not None: |
740 tr.release() |
742 tr.release() |