# HG changeset patch # User Patrick Mezard # Date 2007-12-04 22:28:10 # Node ID 7c976bb039afc1bd91e4fc248a053780ceb6a1ea # Parent 74f65f44a9aaea7bf98df77582afb17a0ae90433 # Parent 60bd4e707a7d652a173c2402fb688221665953ce Merge with crew-stable diff --git a/mercurial/util_win32.py b/mercurial/util_win32.py --- a/mercurial/util_win32.py +++ b/mercurial/util_win32.py @@ -205,7 +205,7 @@ def system_rcpath_win32(): def user_rcpath_win32(): '''return os-specific hgrc search path to the user dir''' userdir = os.path.expanduser('~') - if userdir == '~': + if sys.getwindowsversion() != 2 and userdir == '~': # We are on win < nt: fetch the APPDATA directory location and use # the parent directory as the user home dir. appdir = shell.SHGetPathFromIDList(