Mercurial > hg
changeset 14226:73cca883370d
rename scmutil.user_rcpath to userrcpath
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 06 May 2011 14:58:04 +0200 |
parents | f0ca440b5722 |
children | 94985b5a8278 |
files | mercurial/scmutil.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/scmutil.py Fri May 06 14:54:05 2011 +0200 +++ b/mercurial/scmutil.py Fri May 06 14:58:04 2011 +0200 @@ -363,7 +363,7 @@ def osrcpath(): '''return default os-specific hgrc search path''' path = systemrcpath() - path.extend(user_rcpath()) + path.extend(userrcpath()) path = [os.path.normpath(f) for f in path] return path @@ -415,7 +415,7 @@ path.extend(rcfiles('/etc/mercurial')) return path - def user_rcpath(): + def userrcpath(): return [os.path.expanduser('~/.hgrc')] else: @@ -453,7 +453,7 @@ rcpath.append(os.path.join(p, f)) return rcpath - def user_rcpath(): + def userrcpath(): '''return os-specific hgrc search path to the user dir''' home = os.path.expanduser('~') path = [os.path.join(home, 'mercurial.ini'),