mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +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', '')
|
return 'command' in os.environ.get('comspec', '')
|
||||||
|
|
||||||
def openhardlinks():
|
def openhardlinks():
|
||||||
return not _is_win_9x and "win32api" in locals()
|
return not _is_win_9x() and "win32api" in globals()
|
||||||
|
|
||||||
def system_rcpath():
|
def system_rcpath():
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user