diff mercurial/commands.py @ 11048:9e643a0c3278

showconfig: show rc paths with --debug
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 26 Apr 2010 15:32:23 +0200
parents 4d3288197717
children 5d35f7d93514
line wrap: on
line diff
--- 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: