--- 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)