# HG changeset patch # User Adrian Buehlmann # Date 2011-05-06 12:54:05 # Node ID f0ca440b5722e618709389bb72e11a7849f28bca # Parent f4189866c76c9a0507f2ccf6340df96bd3e0b8b0 rename scmutil.system_rcpath to systemrcpath diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -362,7 +362,7 @@ def walkrepos(path, followsym=False, see 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 @@ if os.name != 'nt': 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 @@ else: _HKEY_LOCAL_MACHINE = 0x80000002L - def system_rcpath(): + def systemrcpath(): '''return default os-specific hgrc search path''' rcpath = [] filename = util.executable_path()