mercurial/windows.py
changeset 8559 4429751f5da7
parent 8421 b6d0fa8c7685
child 8614 573734e7e6d0
equal deleted inserted replaced
8558:5726bb290bfe 8559:4429751f5da7
    66         return sys.getwindowsversion()[3] == 1
    66         return sys.getwindowsversion()[3] == 1
    67     except AttributeError:
    67     except AttributeError:
    68         return 'command' in os.environ.get('comspec', '')
    68         return 'command' in os.environ.get('comspec', '')
    69 
    69 
    70 def openhardlinks():
    70 def openhardlinks():
    71     return not _is_win_9x and "win32api" in locals()
    71     return not _is_win_9x() and "win32api" in globals()
    72 
    72 
    73 def system_rcpath():
    73 def system_rcpath():
    74     try:
    74     try:
    75         return system_rcpath_win32()
    75         return system_rcpath_win32()
    76     except:
    76     except: