[PATCH] workaround for raw_input() on Windows

Patrick Mézard pmezard at gmail.com
Tue Dec 4 16:31:32 CST 2007


Steve Borho a écrit :
> # HG changeset patch
> # User Steve Borho <steve at borho.org>
> # Date 1196724506 21600
> # Node ID 5573a5d78577b4bd4a6791a20350e749d4619790
> # Parent  74f65f44a9aaea7bf98df77582afb17a0ae90433
> workaround for raw_input() on Windows
> 
> Since change a3fe91b4f6eb, Mercurial has set_binary() on stdin, stdout, and stderr.
> On Windows, this had the side effect of causing raw_input() to emit trailing carriage
> returns on it's returned strings.  This was causing web authentication problems.

In crew as 2e76e5a23c2b, thanks.


More information about the Mercurial-devel mailing list