diff -r 00c9ac4ce816 -r 277f4fe6d01a mercurial/util.py --- 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