Mercurial > hg
changeset 23267:d7ce6e56b070
hgk: forward command output to ui.fout consistently
Nobody would want to run hgk in command server, but it should work in
principle. This fixes possible data corruption of command-server channel.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 12 Nov 2014 21:53:44 +0900 |
parents | 3480c07fc934 |
children | 0fd3862ef425 |
files | hgext/hgk.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/hgk.py Tue Nov 11 18:43:19 2014 -0600 +++ b/hgext/hgk.py Wed Nov 12 21:53:44 2014 +0900 @@ -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) + util.system(cmd, out=ui.fout)