mercurial/util.py
changeset 30472 277f4fe6d01a
parent 30471 00c9ac4ce816
child 30473 39d13b8c101d
--- a/mercurial/util.py	Fri Oct 21 00:09:38 2016 +0900
+++ b/mercurial/util.py	Thu Oct 20 23:40:24 2016 +0900
@@ -54,6 +54,9 @@
 pickle = pycompat.pickle
 queue = pycompat.queue
 socketserver = pycompat.socketserver
+stderr = pycompat.stderr
+stdin = pycompat.stdin
+stdout = pycompat.stdout
 stringio = pycompat.stringio
 urlerr = pycompat.urlerr
 urlparse = pycompat.urlparse
@@ -62,6 +65,7 @@
 
 if os.name == 'nt':
     from . import windows as platform
+    stdout = platform.winstdout(pycompat.stdout)
 else:
     from . import posix as platform