extensions: add a note about debug output during extensions search
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Fri, 30 Sep 2016 00:27:35 +0200
changeset 30028 3741a8f86e88
parent 30027 ebe488e04ca3
child 30030 0f6d6fdd3c2a
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.
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: