diff mercurial/dispatch.py @ 8206:cce63ef1045b

ui: print_exc() -> traceback()
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Apr 2009 16:50:44 -0500
parents 9b8ac5fb7760
children 46293a0c7e9f
line wrap: on
line diff
--- a/mercurial/dispatch.py	Sun Apr 26 16:50:44 2009 -0500
+++ b/mercurial/dispatch.py	Sun Apr 26 16:50:44 2009 -0500
@@ -47,7 +47,7 @@
             # enter the debugger when we hit an exception
             if '--debugger' in args:
                 pdb.post_mortem(sys.exc_info()[2])
-            ui.print_exc()
+            ui.traceback()
             raise
 
     # Global exception handling, alphabetically