mercurial/bundle2.py
changeset 43778 888bd39ed555
parent 43506 9f70512ae2cf
child 44247 c443b9ba6f63
equal deleted inserted replaced
43777:c8e9a3636abe 43778:888bd39ed555
  2370 
  2370 
  2371         bookstore.applychanges(op.repo, op.gettransaction(), changes)
  2371         bookstore.applychanges(op.repo, op.gettransaction(), changes)
  2372 
  2372 
  2373         if pushkeycompat:
  2373         if pushkeycompat:
  2374 
  2374 
  2375             def runhook():
  2375             def runhook(unused_success):
  2376                 for hookargs in allhooks:
  2376                 for hookargs in allhooks:
  2377                     op.repo.hook(b'pushkey', **pycompat.strkwargs(hookargs))
  2377                     op.repo.hook(b'pushkey', **pycompat.strkwargs(hookargs))
  2378 
  2378 
  2379             op.repo._afterlock(runhook)
  2379             op.repo._afterlock(runhook)
  2380 
  2380