diff -r b39ed8c8e5e5 -r bcc1a9fd0b8c mercurial/ui.py --- a/mercurial/ui.py Fri Jun 24 11:39:12 2011 -0400 +++ b/mercurial/ui.py Fri Jun 24 17:04:37 2011 +0300 @@ -629,7 +629,8 @@ util.system("%s \"%s\"" % (editor, name), environ={'HGUSER': user}, - onerr=util.Abort, errprefix=_("edit failed")) + onerr=util.Abort, errprefix=_("edit failed"), + out=self.fout) f = open(name) t = f.read()