author | Adrian Buehlmann <adrian@cadifra.com> |
Fri, 06 May 2011 14:52:25 +0200 | |
changeset 14224 | f4189866c76c |
parent 14221 | 680c3c6fcb48 |
child 14225 | f0ca440b5722 |
--- 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':