diff -r 4ac565a30e84 -r 244772f67ac1 mercurial/windows.py --- a/mercurial/windows.py Mon Feb 14 11:12:35 2011 +0100 +++ b/mercurial/windows.py Mon Feb 14 11:12:57 2011 +0100 @@ -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: