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