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.
--- 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)