# HG changeset patch # User Matt Harbison # Date 1576635137 18000 # Node ID 70abcb614a5c798e6e56d6b33c9f91dbc8642671 # Parent b78795c2a294e02fb4e1bed91a2439b9d44fc393 windows: drop detection of Windows 95/98/ME Support was removed in python 2.6. Differential Revision: https://phab.mercurial-scm.org/D7688 diff -r b78795c2a294 -r 70abcb614a5c mercurial/windows.py --- 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):