--- a/mercurial/bundle2.py Fri Nov 22 11:08:59 2019 -0800
+++ b/mercurial/bundle2.py Tue Nov 19 18:38:17 2019 -0800
@@ -2372,7 +2372,7 @@
if pushkeycompat:
- def runhook():
+ def runhook(unused_success):
for hookargs in allhooks:
op.repo.hook(b'pushkey', **pycompat.strkwargs(hookargs))