Mercurial > hg-stable
changeset 14225:f0ca440b5722
rename scmutil.system_rcpath to systemrcpath
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 06 May 2011 14:54:05 +0200 |
parents | f4189866c76c |
children | 73cca883370d |
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:52:25 2011 +0200 +++ b/mercurial/scmutil.py Fri May 06 14:54:05 2011 +0200 @@ -362,7 +362,7 @@ def osrcpath(): '''return default os-specific hgrc search path''' - path = system_rcpath() + path = systemrcpath() path.extend(user_rcpath()) path = [os.path.normpath(f) for f in path] return path @@ -406,7 +406,7 @@ pass return rcs - def system_rcpath(): + def systemrcpath(): path = [] # old mod_python does not set sys.argv if len(getattr(sys, 'argv', [])) > 0: @@ -422,7 +422,7 @@ _HKEY_LOCAL_MACHINE = 0x80000002L - def system_rcpath(): + def systemrcpath(): '''return default os-specific hgrc search path''' rcpath = [] filename = util.executable_path()