diff -r 680c3c6fcb48 -r f4189866c76c mercurial/scmutil.py --- 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':