Mercurial > public > mercurial-scm > hg-stable
diff mercurial/ui.py @ 1292:141951276ba1
Use platform-appropriate rc file names.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 21 Sep 2005 09:56:30 -0700 |
parents | d32b91ebad5d |
children | cf9a1233738a |
line wrap: on
line diff
--- 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")