extdiff: use ui out descriptor when calling util.system stable
authorIdan Kamara <idankk86@gmail.com>
Fri, 24 Jun 2011 17:04:37 +0300
branchstable
changeset 14739 a95efd378641
parent 14738 bcc1a9fd0b8c
child 14740 d83ad13a280e
extdiff: use ui out descriptor when calling util.system
hgext/extdiff.py
--- a/hgext/extdiff.py	Fri Jun 24 17:04:37 2011 +0300
+++ b/hgext/extdiff.py	Fri Jun 24 17:04:37 2011 +0300
@@ -222,7 +222,7 @@
         cmdline = util.shellquote(diffcmd) + ' ' + args
 
         ui.debug('running %r in %s\n' % (cmdline, tmproot))
-        util.system(cmdline, cwd=tmproot)
+        util.system(cmdline, cwd=tmproot, out=ui.fout)
 
         for copy_fn, working_fn, mtime in fns_and_mtime:
             if os.lstat(copy_fn).st_mtime != mtime: