Re: [PATCH] remote-hg: set stdout to binary mode on win32

2013-05-20 Thread Junio C Hamano
Felipe Contreras writes: > On Sun, May 19, 2013 at 6:53 AM, Felipe Contreras > wrote: >> From: Amit Bakshi >> >> 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 iss

Re: [PATCH] remote-hg: set stdout to binary mode on win32

2013-05-19 Thread Felipe Contreras
On Sun, May 19, 2013 at 6:53 AM, Felipe Contreras wrote: > From: Amit Bakshi > > 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. Forgot: [fc: cleaned up] > Si

[PATCH] remote-hg: set stdout to binary mode on win32

2013-05-19 Thread Felipe Contreras
From: Amit Bakshi 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. Signed-off-by: Felipe Contreras --- contrib/remote-helpers/git-remote-hg | 4 1 file chang