diff mercurial/extensions.py @ 8206:cce63ef1045b

ui: print_exc() -> traceback()
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Apr 2009 16:50:44 -0500
parents 5c794e7331e7
children 46293a0c7e9f
line wrap: on
line diff
--- a/mercurial/extensions.py	Sun Apr 26 16:50:44 2009 -0500
+++ b/mercurial/extensions.py	Sun Apr 26 16:50:44 2009 -0500
@@ -87,7 +87,7 @@
             else:
                 ui.warn(_("*** failed to import extension %s: %s\n")
                         % (name, inst))
-            if ui.print_exc():
+            if ui.traceback():
                 return 1
 
 def wrapcommand(table, command, wrapper):