mercurial/windows.py
changeset 43922 70abcb614a5c
parent 43904 1b26cb044097
child 44452 9d2b2df2c2ba
--- a/mercurial/windows.py	Tue Dec 17 14:04:02 2019 -0500
+++ b/mercurial/windows.py	Tue Dec 17 21:12:17 2019 -0500
@@ -228,16 +228,8 @@
             raise IOError(errno.EPIPE, 'Broken pipe')
 
 
-def _is_win_9x():
-    '''return true if run on windows 95, 98 or me.'''
-    try:
-        return sys.getwindowsversion()[3] == 1
-    except AttributeError:
-        return b'command' in encoding.environ.get(b'comspec', b'')
-
-
 def openhardlinks():
-    return not _is_win_9x()
+    return True
 
 
 def parsepatchoutput(output_line):