[cvsnt] Re: end of line Handling in cvsnt

Tony Hoyle tmh at nodomain.org
Wed Oct 23 21:34:33 BST 2002


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.


On Wed, 23 Oct 2002 09:49:52 +0000, John Peacock wrote:


> To save you some wasted effort, this will _only_ work if you do it from
> the Linux side.  If you play with the EOL's on the NT box, it will go
> back to the original CR/LF line ending when you check out the files
> again.
> 
Not true, actually.  If you check them out in NT you'll probably end up
with CR/LF/LF or CR/CR/LF which needs changing to CR/LF then committing
back in again.  Your editor was perhaps hiding this from you.

This isn't a CVS problem it's a result of sharing files between Unix and
NT without using CVS as an intermediary - this is almost always fatal. 
Users should remember to use Unix CVS on Unix and Windows CVS on Windows
to preserve the correct line endings for each platform.  Sharing sandboxes
via samba or NFS or copying file between systems without checkin/checkout
will result in nasty problems like this.

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