diff mercurial/util_win32.py @ 5612:7c976bb039af

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Tue, 04 Dec 2007 23:28:10 +0100
parents 1b5b81d9039b 60bd4e707a7d
children 55d3e845736a
line wrap: on
line diff
--- a/mercurial/util_win32.py	Mon Dec 03 19:19:12 2007 +0100
+++ b/mercurial/util_win32.py	Tue Dec 04 23:28:10 2007 +0100
@@ -205,7 +205,7 @@
 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(