equal
deleted
inserted
replaced
627 |
627 |
628 editor = self.geteditor() |
628 editor = self.geteditor() |
629 |
629 |
630 util.system("%s \"%s\"" % (editor, name), |
630 util.system("%s \"%s\"" % (editor, name), |
631 environ={'HGUSER': user}, |
631 environ={'HGUSER': user}, |
632 onerr=util.Abort, errprefix=_("edit failed")) |
632 onerr=util.Abort, errprefix=_("edit failed"), |
|
633 out=self.fout) |
633 |
634 |
634 f = open(name) |
635 f = open(name) |
635 t = f.read() |
636 t = f.read() |
636 f.close() |
637 f.close() |
637 finally: |
638 finally: |