changeset 25568 | c1ff82daed62 |
parent 25519 | 09e2cb2a00d7 |
child 25629 | 52e5f68d8363 |
--- a/mercurial/ui.py Thu Jun 11 19:02:24 2015 -0700 +++ b/mercurial/ui.py Fri Jun 12 22:09:41 2015 -0400 @@ -869,9 +869,8 @@ ''.join(causetb), ''.join(exconly)) else: - self.flush() # flush debug or status message - traceback.print_exception(exc[0], exc[1], exc[2], - file=self.ferr) + output = traceback.format_exception(exc[0], exc[1], exc[2]) + self.write_err(''.join(output)) return self.tracebackflag or force def geteditor(self):