Mercurial > hg
comparison contrib/import-checker.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 | 10e6c4b7121b |
children | 328739ea70c3 |
comparison
equal
deleted
inserted
replaced
25363:3ff4b07412ad | 25364:de23a552fc23 |
---|