mercurial/exchange.py
changeset 21043 6c383c871fdb
parent 21024 7731a2281cf0
child 21061 62d35f251c60
--- a/mercurial/exchange.py	Wed Apr 16 00:37:24 2014 +0900
+++ b/mercurial/exchange.py	Wed Apr 16 00:37:24 2014 +0900
@@ -103,6 +103,9 @@
         try:
             _pushdiscovery(pushop)
             if _pushcheckoutgoing(pushop):
+                pushop.repo.prepushoutgoinghooks(pushop.repo,
+                                                 pushop.remote,
+                                                 pushop.outgoing)
                 _pushchangeset(pushop)
             _pushcomputecommonheads(pushop)
             _pushsyncphase(pushop)