--- a/mercurial/commands.py Mon Apr 26 15:58:36 2010 -0400
+++ b/mercurial/commands.py Mon Apr 26 15:32:23 2010 +0200
@@ -873,6 +873,8 @@
for each config item.
"""
+ for f in util.rcpath():
+ ui.debug(_('read config from: %s\n') % f)
untrusted = bool(opts.get('untrusted'))
if values:
if len([v for v in values if '.' in v]) > 1:
--- a/tests/test-hgrc.out Mon Apr 26 15:58:36 2010 -0400
+++ b/tests/test-hgrc.out Mon Apr 26 15:32:23 2010 +0200
@@ -11,6 +11,7 @@
foo.baz=bif cb
hg: config error at $HGRCPATH:1: cannot include /no-such-file (No such file or directory)
% customized hgrc
+read config from: .../.hgrc
.../.hgrc:13: alias.log=log -g
.../.hgrc:11: defaults.identify=-n
.../.hgrc:2: ui.debug=true
@@ -22,6 +23,7 @@
.../.hgrc:8: ui.style=~/.hgstyle
.../.hgrc:9: ui.logtemplate={node}
% plain hgrc
+read config from: .../.hgrc
none: ui.traceback=True
none: ui.verbose=False
none: ui.debug=True