[cvsnt] Re: Question about --lf
Tony Hoyle
tony.hoyle at march-hare.com
Sun Feb 12 02:14:13 GMT 2006
Torsten Martinsen wrote:
> In older CVSNT versions, it was possible to check out files with UNIX
> line endings using the global --lf option. In 2.5.03.2238, using it
> results in the message "Obsolete --lf option used. Please update your
> client.".
>
> Why was the option removed?
It results in a client that can potentially send invalid data to the
server... it's just a global switch into Unix mode. If you try to
commit a DOS text file with it it'll send the CRLF pairs unmodified and
screw up the server copy of the file (CVSNT servers detect this problem,
but cvshome servers just write what the client sends into the RCS file).
If you update -k+L that'll do the same thing in a safe manner.
Tony
More information about the cvsnt
mailing list