mercurial/commands.py
changeset 23270 41c03b7592ed
parent 23254 d23834b871ac
child 23289 ae5d0a22ee7e
--- a/mercurial/commands.py	Sat Nov 08 12:57:42 2014 +0900
+++ b/mercurial/commands.py	Sat Nov 08 13:06:22 2014 +0900
@@ -743,9 +743,7 @@
                 # update state
                 state['current'] = [node]
                 hbisect.save_state(repo, state)
-                status = util.system(command,
-                                     environ={'HG_NODE': hex(node)},
-                                     out=ui.fout)
+                status = ui.system(command, environ={'HG_NODE': hex(node)})
                 if status == 125:
                     transition = "skip"
                 elif status == 0:
@@ -1573,9 +1571,8 @@
             fp.close()
 
         editor = ui.geteditor()
-        util.system("%s \"%s\"" % (editor, f),
-                    onerr=util.Abort, errprefix=_("edit failed"),
-                    out=ui.fout)
+        ui.system("%s \"%s\"" % (editor, f),
+                  onerr=util.Abort, errprefix=_("edit failed"))
         return
 
     for f in scmutil.rcpath():