Mercurial > hg-stable
changeset 8559:4429751f5da7
windows: make openhardlinks work
Despite the intention, openhardlinks would always evaluate to False.
author | Henrik Stuart <hg@hstuart.dk> |
---|---|
date | Sat, 23 May 2009 19:57:25 +0200 |
parents | 5726bb290bfe |
children | accb1cf85c31 |
files | mercurial/windows.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/windows.py Sat May 23 11:53:23 2009 -0500 +++ b/mercurial/windows.py Sat May 23 19:57:25 2009 +0200 @@ -68,7 +68,7 @@ return 'command' in os.environ.get('comspec', '') def openhardlinks(): - return not _is_win_9x and "win32api" in locals() + return not _is_win_9x() and "win32api" in globals() def system_rcpath(): try: