[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line Breaks
From: |
david |
Subject: |
Re: Line Breaks |
Date: |
Fri, 31 May 2002 13:48:18 -0500 (CDT) |
> On Fri, May 31, 2002 at 10:57:46AM -0400, Larry Jones wrote:
> > Willi Richert writes:
>
> And provided your CVS *users* follow the rules. It's possible to
> defeat CVS's attempts to do this conversion. If someone managed
> to do so, they could have checked CRLF's into the repo. When you
> check out on UNIX, you'll get CRLF's. When you check out on
> Windows, you'll get CRCRLF's [sic]. Both are wrong, of course.
>
> There are several ways to screw this up:
> [two omitted]
> - Using Cygwin, or so I gather from the list
>
That's how it happened in the cases I know about. I don't know
exactly how Cygwin works in the general case, but we were getting
CRLFs committed from it.
I believe Cygwin is supposed to work well with standard Windows
line endings, but in this case it didn't, perhaps having been
configured wrongly. I was thinking about introducing WinCvs,
since we were just using Cygwin to check out code to compile with
Visual C++, but never got to it before being laid off.
I suppose that if you use one version of Cygwin, configured however,
and manipulate files with adapted Unix programs compiled under the
same sort of configurations, that there won't be a problem. However,
it looks to me like doing anything else is going to be tricky.
David H. Thornley | If you want my opinion, ask.
address@hidden | If you don't, flee.
http://www.thornley.net/~thornley/david/ | O-