changeset 30028:3741a8f86e88

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.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 30 Sep 2016 00:27:35 +0200
parents ebe488e04ca3
children 0f6d6fdd3c2a
files mercurial/extensions.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: