# HG changeset patch # User Pierre-Yves David # Date 2016-09-29 22:27:35 # 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 --git a/mercurial/extensions.py b/mercurial/extensions.py --- a/mercurial/extensions.py +++ b/mercurial/extensions.py @@ -81,6 +81,8 @@ def _importh(name): 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: