[PATCH] showconfig: show rc paths with --debug

Mads Kiilerich mads at kiilerich.com
Mon Apr 26 08:56:49 CDT 2010


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1272288743 -7200
# Node ID 767f7269af0220d9c84b0de81f3bb713913234fa
# Parent  f9c25ea01fb7a488182aee5a8e41f1b7d7086390
showconfig: show rc paths with --debug

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -874,6 +874,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:


More information about the Mercurial-devel mailing list