D7688: windows: drop detection of Windows 95/98/ME
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Wed Dec 18 03:49:13 UTC 2019
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Support was removed in python 2.6.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D7688
AFFECTED FILES
mercurial/windows.py
CHANGE DETAILS
diff --git a/mercurial/windows.py b/mercurial/windows.py
--- a/mercurial/windows.py
+++ b/mercurial/windows.py
@@ -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):
To: mharbison72, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list