info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs server not translating line endings correctly


From: Larry Jones
Subject: Re: cvs server not translating line endings correctly
Date: Thu, 5 Apr 2001 16:04:28 -0400 (EDT)

address@hidden writes:
> 
> When I look at a comma-v file, if the file had dos line endings in it 
> when I checked it in, ^M's appear at the end of each source file. My 
> understanding is that these should be removed when checked into the 
> repository.

It's up to the client to convert from the local line ending conventions
to the cannonical LF-only format before sending the file to the server
(for non-binary files; binary files never undergo conversion).  If you
use a Unix client to checkin DOS files, you will not get the correct
conversion.  Likewise, some clients have configurable line ending
conversions and configuring them incorrectly will cause the same problem
(I think WinCVS falls into this category, but I'm not sure; and I have
no idea whether cygwin does or not).

-Larry Jones

I'm not a vegetarian!  I'm a dessertarian. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]