[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] monotone win32 crlf questions
From: |
Jon Bright |
Subject: |
Re: [Monotone-devel] monotone win32 crlf questions |
Date: |
Thu, 01 Jul 2004 08:17:22 +0200 |
User-agent: |
Mozilla Thunderbird 0.6 (Windows/20040502) |
Hi Derek,
Derek Scherger wrote:
I have not defined the get_linesep_conv or get_charset_conv hooks and
I'm using monotone under cygwin on winxp.
Assuming you're using the monotone distributed by Graydon, and assuming
Graydon compiled that using MinGW as per my original porting
instructions, using it under Cygwin may be the problem (though don't
quote me on this). I seem to recall there being some conflict between
Cygwin stuff and MinGW stuff. Does the same thing happen if you do the
diff in a normal windows console?
Thinking about this a bit more though it seems that normalizing line
endings in source files would cause some rather serious problems with
hash computations. Files with \n line separators on a linux system would
hash wildly differently than the same files with \r\n line separators on
a windows system.
The differences in normalisation are actually the reason for about half
the self-tests failing on Windows. This is something I've been meaning
to look into, but haven't got to yet...
--
Jon Bright
Silicon Circus Ltd.
http://www.siliconcircus.com