##// END OF EJS Templates
showconfig: show rc paths with --debug
Mads Kiilerich -
r11048:9e643a0c default
parent child Browse files
Show More
@@ -873,6 +873,8 b' def showconfig(ui, repo, *values, **opts'
873 873 for each config item.
874 874 """
875 875
876 for f in util.rcpath():
877 ui.debug(_('read config from: %s\n') % f)
876 878 untrusted = bool(opts.get('untrusted'))
877 879 if values:
878 880 if len([v for v in values if '.' in v]) > 1:
@@ -11,6 +11,7 b' foo.bar=a\\nb\\nc\\nde\\nfg'
11 11 foo.baz=bif cb
12 12 hg: config error at $HGRCPATH:1: cannot include /no-such-file (No such file or directory)
13 13 % customized hgrc
14 read config from: .../.hgrc
14 15 .../.hgrc:13: alias.log=log -g
15 16 .../.hgrc:11: defaults.identify=-n
16 17 .../.hgrc:2: ui.debug=true
@@ -22,6 +23,7 b' hg: config error at $HGRCPATH:1: cannot '
22 23 .../.hgrc:8: ui.style=~/.hgstyle
23 24 .../.hgrc:9: ui.logtemplate={node}
24 25 % plain hgrc
26 read config from: .../.hgrc
25 27 none: ui.traceback=True
26 28 none: ui.verbose=False
27 29 none: ui.debug=True
General Comments 0
You need to be logged in to leave comments. Login now