[PATCH] Fix test-demandimport and test-trusted under Windows
Patrick Mézard
pmezard at gmail.com
Sun Jul 19 11:32:01 CDT 2009
James Abbatiello a écrit :
> # HG changeset patch
> # User James Abbatiello <abbeyj at gmail.com>
> # Date 1247625492 14400
> # Node ID ead71bffb136594e2212e6ee0e43ce018f16206c
> # Parent 294c5e460b369a383fb85b4985b60b5d06b33853
> Fix test-demandimport and test-trusted under Windows
>
> The Windows-only wrapper around stdout is causing both of these tests to fail.
> test-demandimport fails because it tries to print repr(sys.stdout). Use
> stderr instead since that is not wrapped.
>
> test-trusted fails because the wrapper doesn't handle softspace and an
> unexpected extra space gets printed.
In crew-stable as 705278e70457.
Nice catch, I've been puzzled by this for some time.
--
Patrick Mézard
More information about the Mercurial-devel
mailing list