# HG changeset patch # User Pierre-Yves David # Date 1475188055 -7200 # Node ID 3741a8f86e88702595c29f8ed824a28da0cfa961 # Parent ebe488e04ca35829c9afc62b73de6c65a4a734d2 extensions: add a note about debug output during extensions search These messages do not show up when one use '--debug'. This is quite confusing so we clarify the situation next to the 'ui.debug' call. diff -r ebe488e04ca3 -r 3741a8f86e88 mercurial/extensions.py --- a/mercurial/extensions.py Fri Sep 30 00:25:15 2016 +0200 +++ b/mercurial/extensions.py Fri Sep 30 00:27:35 2016 +0200 @@ -81,6 +81,8 @@ return mod def _reportimporterror(ui, err, failed, next): + # note: this ui.debug happens before --debug is processed, + # Use --config ui.debug=1 to see them. ui.debug('could not import %s (%s): trying %s\n' % (failed, err, next)) if ui.debugflag: