mercurial/bundle2.py
changeset 35655 2f54a3e228ff
parent 35466 7906354cbc68
child 35758 b996ddf5963d
--- 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':