Show More
@@ -873,6 +873,8 b' def showconfig(ui, repo, *values, **opts' | |||||
873 | for each config item. |
|
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 | untrusted = bool(opts.get('untrusted')) |
|
878 | untrusted = bool(opts.get('untrusted')) | |
877 | if values: |
|
879 | if values: | |
878 | if len([v for v in values if '.' in v]) > 1: |
|
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 | foo.baz=bif cb |
|
11 | foo.baz=bif cb | |
12 | hg: config error at $HGRCPATH:1: cannot include /no-such-file (No such file or directory) |
|
12 | hg: config error at $HGRCPATH:1: cannot include /no-such-file (No such file or directory) | |
13 | % customized hgrc |
|
13 | % customized hgrc | |
|
14 | read config from: .../.hgrc | |||
14 | .../.hgrc:13: alias.log=log -g |
|
15 | .../.hgrc:13: alias.log=log -g | |
15 | .../.hgrc:11: defaults.identify=-n |
|
16 | .../.hgrc:11: defaults.identify=-n | |
16 | .../.hgrc:2: ui.debug=true |
|
17 | .../.hgrc:2: ui.debug=true | |
@@ -22,6 +23,7 b' hg: config error at $HGRCPATH:1: cannot ' | |||||
22 | .../.hgrc:8: ui.style=~/.hgstyle |
|
23 | .../.hgrc:8: ui.style=~/.hgstyle | |
23 | .../.hgrc:9: ui.logtemplate={node} |
|
24 | .../.hgrc:9: ui.logtemplate={node} | |
24 | % plain hgrc |
|
25 | % plain hgrc | |
|
26 | read config from: .../.hgrc | |||
25 | none: ui.traceback=True |
|
27 | none: ui.traceback=True | |
26 | none: ui.verbose=False |
|
28 | none: ui.verbose=False | |
27 | none: ui.debug=True |
|
29 | none: ui.debug=True |
General Comments 0
You need to be logged in to leave comments.
Login now