[PATCH 1 of 1] patch: generate .rej wihtout eol adaptation

Mads Kiilerich mads at kiilerich.com
Tue Dec 7 06:14:35 CST 2010

On 12/07/2010 04:34 AM, Shun-ichi Goto wrote:
> But your patch contains old test code which fail on windows.
> Please use latest one I posted at 2010/12/5 which use cateol.py
> to visualize eol.

run-tests.py will now automatically encode control characters, so the 
cateol.py hack shouldn't be needed. If I had noticed it I would have 
removed it and replaced it with a simple cat.

What is the problem on windows and how do cateol.py fix it?

I think it would be great if the test suite could be run on windows, but 
it is not so great if we have to add hacks everywhere in the tests. I 
can imagine that we will need a general strategy for testing line 
endings on windows.


More information about the Mercurial-devel mailing list