mercurial/hook.py
branchstable
changeset 14711 ac70f8d5987c
parent 14234 600e64004eb5
child 14889 a59058fd074a
--- a/mercurial/hook.py	Tue Jun 21 15:21:57 2011 -0500
+++ b/mercurial/hook.py	Tue Jun 21 16:55:21 2011 +0300
@@ -107,7 +107,7 @@
     if 'HG_URL' in env and env['HG_URL'].startswith('remote:http'):
         r = util.system(cmd, environ=env, cwd=cwd, out=ui)
     else:
-        r = util.system(cmd, environ=env, cwd=cwd)
+        r = util.system(cmd, environ=env, cwd=cwd, out=ui.fout)
     if r:
         desc, r = util.explainexit(r)
         if throw: