Mercurial > public > mercurial-scm > hg
diff mercurial/util_win32.py @ 2117:760339ccc799
fix issue 217.
fall back to fixed path if windows >= nt function not present.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 25 Apr 2006 08:37:05 -0700 |
parents | e18beba54a7e |
children | 9b42304d9896 |
line wrap: on
line diff
--- a/mercurial/util_win32.py Fri Apr 21 16:09:43 2006 -0700 +++ b/mercurial/util_win32.py Tue Apr 25 08:37:05 2006 -0700 @@ -164,7 +164,7 @@ return details[0] != winerror.ERROR_INVALID_PARAMETER return True -def system_rcpath(): +def system_rcpath_win32(): '''return default os-specific hgrc search path''' proc = win32api.GetCurrentProcess() filename = win32process.GetModuleFileNameEx(proc, 0)