equal
deleted
inserted
replaced
423 _HKEY_LOCAL_MACHINE = 0x80000002L |
423 _HKEY_LOCAL_MACHINE = 0x80000002L |
424 |
424 |
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): |
432 rcpath.append(progrc) |
432 rcpath.append(progrc) |
433 return rcpath |
433 return rcpath |