> 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.
[EMAIL PROTECTED]                       | If you don't, flee.
http://www.thornley.net/~thornley/david/ | O-

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to