mercurial/hg.py
changeset 21051 1004d3cd65fd
parent 21050 025ec0f08cb6
child 21537 1ab30e9ba0fc
--- a/mercurial/hg.py	Wed Apr 16 00:37:24 2014 +0900
+++ b/mercurial/hg.py	Wed Apr 16 00:37:24 2014 +0900
@@ -600,6 +600,7 @@
     limit = cmdutil.loglimit(opts)
     o, other = _outgoing(ui, repo, dest, opts)
     if not o:
+        cmdutil.outgoinghooks(ui, repo, other, opts, o)
         return recurse()
 
     if opts.get('newest_first'):
@@ -615,6 +616,7 @@
         count += 1
         displayer.show(repo[n])
     displayer.close()
+    cmdutil.outgoinghooks(ui, repo, other, opts, o)
     recurse()
     return 0 # exit code is zero since we found outgoing changes