Mercurial > hg
diff hgext/hgk.py @ 23270:41c03b7592ed
util.system: use ui.system() in place of optional ui.fout parameter
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 08 Nov 2014 13:06:22 +0900 |
parents | d7ce6e56b070 |
children | 5fb1fc2e1281 |
line wrap: on
line diff
--- a/hgext/hgk.py Sat Nov 08 12:57:42 2014 +0900 +++ b/hgext/hgk.py Sat Nov 08 13:06:22 2014 +0900 @@ -35,7 +35,7 @@ ''' import os -from mercurial import cmdutil, commands, util, patch, revlog, scmutil +from mercurial import cmdutil, commands, patch, revlog, scmutil from mercurial.node import nullid, nullrev, short from mercurial.i18n import _ @@ -349,4 +349,4 @@ optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v]) cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc)) ui.debug("running %s\n" % cmd) - util.system(cmd, out=ui.fout) + ui.system(cmd)