changeset 14236:e949a008999d

rename util.executable_path to executablepath
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 06 May 2011 15:36:05 +0200
parents b9e1b041744f
children 4d684d8210a1
files mercurial/scmutil.py mercurial/win32.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)