# HG changeset patch # User Idan Kamara # Date 2011-06-24 14:04:37 # Node ID a95efd378641c0485f4e015fec3a42061d63ad9b # Parent bcc1a9fd0b8c71267b793da7c1f056d94539a363 extdiff: use ui out descriptor when calling util.system diff --git a/hgext/extdiff.py b/hgext/extdiff.py --- a/hgext/extdiff.py +++ b/hgext/extdiff.py @@ -222,7 +222,7 @@ def dodiff(ui, repo, diffcmd, diffopts, 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: