##// END OF EJS Templates
rename util.executable_path to executablepath
Adrian Buehlmann -
r14236:e949a008 default
parent child Browse files
Show More
@@ -425,7 +425,7 b' else:'
425 def systemrcpath():
425 def systemrcpath():
426 '''return default os-specific hgrc search path'''
426 '''return default os-specific hgrc search path'''
427 rcpath = []
427 rcpath = []
428 filename = util.executable_path()
428 filename = util.executablepath()
429 # Use mercurial.ini found in directory with hg.exe
429 # Use mercurial.ini found in directory with hg.exe
430 progrc = os.path.join(os.path.dirname(filename), 'mercurial.ini')
430 progrc = os.path.join(os.path.dirname(filename), 'mercurial.ini')
431 if os.path.isfile(progrc):
431 if os.path.isfile(progrc):
@@ -218,7 +218,7 b' def lookupreg(key, valname=None, scope=N'
218 finally:
218 finally:
219 adv.RegCloseKey(kh.value)
219 adv.RegCloseKey(kh.value)
220
220
221 def executable_path():
221 def executablepath():
222 '''return full path of hg.exe'''
222 '''return full path of hg.exe'''
223 size = 600
223 size = 600
224 buf = ctypes.create_string_buffer(size + 1)
224 buf = ctypes.create_string_buffer(size + 1)
General Comments 0
You need to be logged in to leave comments. Login now