windows: drop detection of Windows 95/98/ME
Support was removed in python 2.6.
Differential Revision: https://phab.mercurial-scm.org/D7688
--- 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):