equal
deleted
inserted
replaced
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 |