Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bundle2.py @ 35655:2f54a3e228ff
bookmark: run 'pushkey' hooks after bookmark move, not 'prepushkey'
This was a silly copy paste mistake.
Spotted by Mitchell Plamann from Jane Street.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 15 Jan 2018 10:44:49 +0000 |
parents | 7906354cbc68 |
children | b996ddf5963d |
line wrap: on
line diff
--- a/mercurial/bundle2.py Mon Jan 15 19:44:18 2018 +0800 +++ b/mercurial/bundle2.py Mon Jan 15 10:44:49 2018 +0000 @@ -2022,7 +2022,7 @@ if pushkeycompat: def runhook(): for hookargs in allhooks: - op.repo.hook('prepushkey', **hookargs) + op.repo.hook('pushkey', **hookargs) op.repo._afterlock(runhook) elif bookmarksmode == 'records':