rename util.executable_path to executablepath
authorAdrian Buehlmann <adrian@cadifra.com>
Fri, 06 May 2011 15:36:05 +0200
changeset 14236 e949a008999d
parent 14235 b9e1b041744f
child 14237 4d684d8210a1
rename util.executable_path to executablepath
mercurial/scmutil.py
mercurial/win32.py
--- a/mercurial/scmutil.py	Fri May 06 15:34:34 2011 +0200
+++ b/mercurial/scmutil.py	Fri May 06 15:36:05 2011 +0200
@@ -425,7 +425,7 @@
     def systemrcpath():
         '''return default os-specific hgrc search path'''
         rcpath = []
-        filename = util.executable_path()
+        filename = util.executablepath()
         # Use mercurial.ini found in directory with hg.exe
         progrc = os.path.join(os.path.dirname(filename), 'mercurial.ini')
         if os.path.isfile(progrc):
--- a/mercurial/win32.py	Fri May 06 15:34:34 2011 +0200
+++ b/mercurial/win32.py	Fri May 06 15:36:05 2011 +0200
@@ -218,7 +218,7 @@
         finally:
             adv.RegCloseKey(kh.value)
 
-def executable_path():
+def executablepath():
     '''return full path of hg.exe'''
     size = 600
     buf = ctypes.create_string_buffer(size + 1)