##// END OF EJS Templates
config: drop debug messages saying where config was read from...
Martin von Zweigbergk -
r44371:6b687282 default
parent child Browse files
Show More
@@ -2224,8 +2224,8 b' def config(ui, repo, *values, **opts):'
2224 if t == b'path':
2224 if t == b'path':
2225 ui.debug(b'read config from: %s\n' % f)
2225 ui.debug(b'read config from: %s\n' % f)
2226 elif t == b'items':
2226 elif t == b'items':
2227 for section, name, value, source in f:
2227 # Don't print anything for 'items'.
2228 ui.debug(b'set config by: %s\n' % source)
2228 pass
2229 else:
2229 else:
2230 raise error.ProgrammingError(b'unknown rctype: %s' % t)
2230 raise error.ProgrammingError(b'unknown rctype: %s' % t)
2231 untrusted = bool(opts.get(b'untrusted'))
2231 untrusted = bool(opts.get(b'untrusted'))
@@ -197,9 +197,6 b' plain hgrc'
197 with environment variables
197 with environment variables
198
198
199 $ PAGER=p1 EDITOR=e1 VISUAL=e2 hg showconfig --debug
199 $ PAGER=p1 EDITOR=e1 VISUAL=e2 hg showconfig --debug
200 set config by: $EDITOR
201 set config by: $VISUAL
202 set config by: $PAGER
203 read config from: $TESTTMP/hgrc
200 read config from: $TESTTMP/hgrc
204 repo: bundle.mainreporoot=$TESTTMP
201 repo: bundle.mainreporoot=$TESTTMP
205 $PAGER: pager.pager=p1
202 $PAGER: pager.pager=p1
General Comments 0
You need to be logged in to leave comments. Login now