comparison 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
comparison
equal deleted inserted replaced
8205:00736cd2702a 8206:cce63ef1045b
85 ui.warn(_("*** failed to import extension %s from %s: %s\n") 85 ui.warn(_("*** failed to import extension %s from %s: %s\n")
86 % (name, path, inst)) 86 % (name, path, inst))
87 else: 87 else:
88 ui.warn(_("*** failed to import extension %s: %s\n") 88 ui.warn(_("*** failed to import extension %s: %s\n")
89 % (name, inst)) 89 % (name, inst))
90 if ui.print_exc(): 90 if ui.traceback():
91 return 1 91 return 1
92 92
93 def wrapcommand(table, command, wrapper): 93 def wrapcommand(table, command, wrapper):
94 aliases, entry = cmdutil.findcmd(command, table) 94 aliases, entry = cmdutil.findcmd(command, table)
95 for alias, e in table.iteritems(): 95 for alias, e in table.iteritems():