mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
windows: make openhardlinks work
Despite the intention, openhardlinks would always evaluate to False.
This commit is contained in:
parent
2c2304d400
commit
fa95cc9642
@ -68,7 +68,7 @@ def _is_win_9x():
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user