[cvsnt] Re: Question about --lf

Tony Hoyle tony.hoyle at march-hare.com
Sun Feb 12 02:14:13 GMT 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook