diff mercurial/dispatch.py @ 14640:406b6d7bdcb9

dispatch: write shell alias output to ui out descriptor
author Idan Kamara <idankk86@gmail.com>
date Tue, 07 Jun 2011 13:39:09 +0300
parents 110d75f0abb3
children 1ec8bd909ac3
line wrap: on
line diff
--- a/mercurial/dispatch.py	Wed Jun 08 14:54:52 2011 +0300
+++ b/mercurial/dispatch.py	Tue Jun 07 13:39:09 2011 +0300
@@ -276,7 +276,7 @@
                 replace['0'] = self.name
                 replace['@'] = ' '.join(args)
                 cmd = util.interpolate(r'\$', replace, cmd, escape_prefix=True)
-                return util.system(cmd, environ=env)
+                return util.system(cmd, environ=env, out=ui.fout)
             self.fn = fn
             return