Skip to content
Snippets Groups Projects
Commit 244772f6 authored by Adrian Buehlmann's avatar Adrian Buehlmann
Browse files

windows: eliminate system_rcpath_win32()

parent 4ac565a3
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@
_HKEY_LOCAL_MACHINE = 0x80000002L
def system_rcpath_win32():
def system_rcpath():
'''return default os-specific hgrc search path'''
rcpath = []
filename = executable_path()
......@@ -105,12 +105,6 @@
rcpath.append(os.path.join(p, f))
return rcpath
def system_rcpath():
try:
return system_rcpath_win32()
except:
return [r'c:\mercurial\mercurial.ini']
def user_rcpath():
'''return os-specific hgrc search path to the user dir'''
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment