Mercurial > hg
changeset 15088:31c9e2a702d1 stable
ui: write traceback to self.ferr
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Sun, 11 Sep 2011 14:42:30 +0200 |
parents | db0646afb725 |
children | bfe903b1ff4e 106f89299da6 |
files | mercurial/ui.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/ui.py Sun Sep 11 18:49:41 2011 +0200 +++ b/mercurial/ui.py Sun Sep 11 14:42:30 2011 +0200 @@ -653,9 +653,9 @@ printed.''' if self.tracebackflag: if exc: - traceback.print_exception(exc[0], exc[1], exc[2]) + traceback.print_exception(exc[0], exc[1], exc[2], file=self.ferr) else: - traceback.print_exc() + traceback.print_exc(file=self.ferr) return self.tracebackflag def geteditor(self):