hgext/record.py
changeset 23270 41c03b7592ed
parent 22921 75e7d4a0f135
child 23435 486a1fe09422
--- a/hgext/record.py	Sat Nov 08 12:57:42 2014 +0900
+++ b/hgext/record.py	Sat Nov 08 13:06:22 2014 +0900
@@ -328,10 +328,9 @@
                     f.close()
                     # Start the editor and wait for it to complete
                     editor = ui.geteditor()
-                    util.system("%s \"%s\"" % (editor, patchfn),
-                            environ={'HGUSER': ui.username()},
-                            onerr=util.Abort, errprefix=_("edit failed"),
-                            out=ui.fout)
+                    ui.system("%s \"%s\"" % (editor, patchfn),
+                              environ={'HGUSER': ui.username()},
+                              onerr=util.Abort, errprefix=_("edit failed"))
                     # Remove comment lines
                     patchfp = open(patchfn)
                     ncpatchfp = cStringIO.StringIO()