mercurial/changegroup.py
changeset 43778 888bd39ed555
parent 43503 313e3a279828
child 43971 6d2b5c4efdae
--- a/mercurial/changegroup.py	Fri Nov 22 11:08:59 2019 -0800
+++ b/mercurial/changegroup.py	Tue Nov 19 18:38:17 2019 -0800
@@ -436,7 +436,7 @@
 
             if changesets > 0:
 
-                def runhooks():
+                def runhooks(unused_success):
                     # These hooks run when the lock releases, not when the
                     # transaction closes. So it's possible for the changelog
                     # to have changed since we last saw it.