Show More
@@ -2040,14 +2040,15 b' def handlebookmark(op, inpart):' | |||||
2040 | allhooks.append(hookargs) |
|
2040 | allhooks.append(hookargs) | |
2041 |
|
2041 | |||
2042 | for hookargs in allhooks: |
|
2042 | for hookargs in allhooks: | |
2043 |
op.repo.hook('prepushkey', throw=True, |
|
2043 | op.repo.hook('prepushkey', throw=True, | |
|
2044 | **pycompat.strkwargs(hookargs)) | |||
2044 |
|
2045 | |||
2045 | bookstore.applychanges(op.repo, op.gettransaction(), changes) |
|
2046 | bookstore.applychanges(op.repo, op.gettransaction(), changes) | |
2046 |
|
2047 | |||
2047 | if pushkeycompat: |
|
2048 | if pushkeycompat: | |
2048 | def runhook(): |
|
2049 | def runhook(): | |
2049 | for hookargs in allhooks: |
|
2050 | for hookargs in allhooks: | |
2050 | op.repo.hook('pushkey', **hookargs) |
|
2051 | op.repo.hook('pushkey', **pycompat.strkwargs(hookargs)) | |
2051 | op.repo._afterlock(runhook) |
|
2052 | op.repo._afterlock(runhook) | |
2052 |
|
2053 | |||
2053 | elif bookmarksmode == 'records': |
|
2054 | elif bookmarksmode == 'records': |
General Comments 0
You need to be logged in to leave comments.
Login now