Comments
Patch
@@ -197,9 +197,6 @@
with environment variables
$ PAGER=p1 EDITOR=e1 VISUAL=e2 hg showconfig --debug
- set config by: $EDITOR
- set config by: $VISUAL
- set config by: $PAGER
read config from: $TESTTMP/hgrc
repo: bundle.mainreporoot=$TESTTMP
$PAGER: pager.pager=p1
@@ -2224,8 +2224,8 @@
if t == b'path':
ui.debug(b'read config from: %s\n' % f)
elif t == b'items':
- for section, name, value, source in f:
- ui.debug(b'set config by: %s\n' % source)
+ # Don't print anything for 'items'.
+ pass
else:
raise error.ProgrammingError(b'unknown rctype: %s' % t)
untrusted = bool(opts.get(b'untrusted'))