commit | 5dbe064d8cf37142f8c76f73ae0866286a8fb018 | [log] [tgz] |
---|---|---|
author | Amit Bakshi <ambakshi@gmail.com> | Sun May 19 06:53:48 2013 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Mon May 20 11:18:43 2013 -0700 |
tree | afb57a932ed32dd3942bf0c784f3c361f8b1aa10 | |
parent | de3a5c6da194928868b5eee4a9c4d538b4194727 [diff] |
remote-hg: set stdout to binary mode on win32 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>