mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
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:
parent
9680f282d3
commit
cefbc74b98
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user