D7688: windows: drop detection of Windows 95/98/ME
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Wed Dec 18 06:46:24 UTC 2019
Closed by commit rHG70abcb614a5c: windows: drop detection of Windows 95/98/ME (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7688?vs=18833&id=18848
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7688/new/
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, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list