rename scmutil.system_rcpath to systemrcpath
authorAdrian Buehlmann <adrian@cadifra.com>
Fri, 06 May 2011 14:54:05 +0200
changeset 14225 f0ca440b5722
parent 14224 f4189866c76c
child 14226 73cca883370d
rename scmutil.system_rcpath to systemrcpath
mercurial/scmutil.py
--- 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()