diff mercurial/__init__.py @ 25364:de23a552fc23

extensions: show traceback on load failure if --traceback flag is set Before this patch, there was no handy way to investigate the reason why extension couldn't be loaded. If ui.debug is set, tracebacks of both "hgext.foo" and "foo" are displayed because the first ImportError could occur at very deep dependency module.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 30 Mar 2015 16:23:35 +0900
parents 9117c6561b0b
children 4374d819ccd5
line wrap: on
line diff