Mercurial > hg
changeset 43922:70abcb614a5c
windows: drop detection of Windows 95/98/ME
Support was removed in python 2.6.
Differential Revision: https://phab.mercurial-scm.org/D7688
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 17 Dec 2019 21:12:17 -0500 |
parents | b78795c2a294 |
children | 9a3ac902d597 |
files | mercurial/windows.py |
diffstat | 1 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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):