diff mercurial/hook.py @ 8206:cce63ef1045b

ui: print_exc() -> traceback()
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Apr 2009 16:50:44 -0500
parents f779e1996e23
children a1a5a57efe90
line wrap: on
line diff
--- a/mercurial/hook.py	Sun Apr 26 16:50:44 2009 -0500
+++ b/mercurial/hook.py	Sun Apr 26 16:50:44 2009 -0500
@@ -61,7 +61,7 @@
                            '%s\n') % (hname, exc))
         if throw:
             raise
-        ui.print_exc()
+        ui.traceback()
         return True
     if r:
         if throw: