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.
This commit is contained in:
Pierre-Yves David 2016-09-30 00:27:35 +02:00
parent 9680f282d3
commit cefbc74b98

View File

@ -81,6 +81,8 @@ def _importh(name):
return mod return mod
def _reportimporterror(ui, err, failed, next): 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' ui.debug('could not import %s (%s): trying %s\n'
% (failed, err, next)) % (failed, err, next))
if ui.debugflag: if ui.debugflag: