Mercurial > hg
changeset 14224:f4189866c76c
rename scmutil.os_rcpath to osrcpath
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 06 May 2011 14:52:25 +0200 |
parents | 680c3c6fcb48 |
children | f0ca440b5722 |
files | mercurial/scmutil.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/scmutil.py Fri May 06 14:29:53 2011 +0200 +++ b/mercurial/scmutil.py Fri May 06 14:52:25 2011 +0200 @@ -360,7 +360,7 @@ newdirs.append(d) dirs[:] = newdirs -def os_rcpath(): +def osrcpath(): '''return default os-specific hgrc search path''' path = system_rcpath() path.extend(user_rcpath()) @@ -390,7 +390,7 @@ else: _rcpath.append(p) else: - _rcpath = os_rcpath() + _rcpath = osrcpath() return _rcpath if os.name != 'nt':