# HG changeset patch # User Adrian Buehlmann # Date 1304688965 -7200 # Node ID e949a008999d684ccad7c3590ca603fc7b4655fb # Parent b9e1b041744f87a95349230d8807f2c8d31b4d64 rename util.executable_path to executablepath diff -r b9e1b041744f -r e949a008999d mercurial/scmutil.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): diff -r b9e1b041744f -r e949a008999d mercurial/win32.py --- 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)