remote-hg: set stdout to binary mode on win32
authorAmit Bakshi <ambakshi@gmail.com>
Sun, 19 May 2013 11:53:48 +0000 (06:53 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 May 2013 18:18:43 +0000 (11:18 -0700)
git clone hangs on windows, and file.write would return errno 22 inside
of mercurial's windows.winstdout wrapper class. This patch sets stdout's
mode to binary, fixing both issues.

[fc: cleaned up]

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found