[PATCH 5 of 5 RESEND] windows: do not replace sys.stdout by winstdout
Yuya Nishihara
yuya at tcha.org
Fri Nov 11 10:50:24 EST 2016
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1476975826 -32400
# Fri Oct 21 00:03:46 2016 +0900
# Node ID 95d7be9da5d1e1b85e3d91d24fe5eb1e1be84857
# Parent dc7445f35ec687e372f9d27bbbb9bb4c5f0d1641
windows: do not replace sys.stdout by winstdout
Now we use util.stdout everywhere.
diff --git a/mercurial/windows.py b/mercurial/windows.py
--- a/mercurial/windows.py
+++ b/mercurial/windows.py
@@ -171,8 +171,6 @@ class winstdout(object):
self.close()
raise IOError(errno.EPIPE, 'Broken pipe')
-sys.stdout = winstdout(sys.stdout)
-
def _is_win_9x():
'''return true if run on windows 95, 98 or me.'''
try:
More information about the Mercurial-devel
mailing list