mercurial/ui.py
changeset 1292 141951276ba1
parent 1147 d32b91ebad5d
child 1400 cf9a1233738a
--- a/mercurial/ui.py	Wed Sep 21 00:47:57 2005 -0700
+++ b/mercurial/ui.py	Wed Sep 21 09:56:30 2005 -0700
@@ -14,8 +14,7 @@
                  interactive=True):
         self.overlay = {}
         self.cdata = ConfigParser.SafeConfigParser()
-        self.cdata.read([os.path.normpath(hgrc) for hgrc in
-                         "/etc/mercurial/hgrc", os.path.expanduser("~/.hgrc")])
+        self.cdata.read(util.rcpath)
 
         self.quiet = self.configbool("ui", "quiet")
         self.verbose = self.configbool("ui", "verbose")