Show More
@@ -205,7 +205,7 b' def system_rcpath_win32():' | |||||
205 | def user_rcpath_win32(): |
|
205 | def user_rcpath_win32(): | |
206 | '''return os-specific hgrc search path to the user dir''' |
|
206 | '''return os-specific hgrc search path to the user dir''' | |
207 | userdir = os.path.expanduser('~') |
|
207 | userdir = os.path.expanduser('~') | |
208 | if userdir == '~': |
|
208 | if sys.getwindowsversion() != 2 and userdir == '~': | |
209 | # We are on win < nt: fetch the APPDATA directory location and use |
|
209 | # We are on win < nt: fetch the APPDATA directory location and use | |
210 | # the parent directory as the user home dir. |
|
210 | # the parent directory as the user home dir. | |
211 | appdir = shell.SHGetPathFromIDList( |
|
211 | appdir = shell.SHGetPathFromIDList( |
General Comments 0
You need to be logged in to leave comments.
Login now