equal
deleted
inserted
replaced
256 traceback.print_exc() |
256 traceback.print_exc() |
257 debugmortem[debugger](sys.exc_info()[2]) |
257 debugmortem[debugger](sys.exc_info()[2]) |
258 ui.traceback() |
258 ui.traceback() |
259 raise |
259 raise |
260 |
260 |
261 return callcatch(ui, _runcatchfunc) |
261 return _callcatch(ui, _runcatchfunc) |
262 |
262 |
263 def callcatch(ui, func): |
263 def _callcatch(ui, func): |
264 """like scmutil.callcatch but handles more high-level exceptions about |
264 """like scmutil.callcatch but handles more high-level exceptions about |
265 config parsing and commands. besides, use handlecommandexception to handle |
265 config parsing and commands. besides, use handlecommandexception to handle |
266 uncaught exceptions. |
266 uncaught exceptions. |
267 """ |
267 """ |
268 try: |
268 try: |