[cvsnt] CVSNT, WinCVS & LineFeed option - looking for best practice

Ian Huynh ianh at hubspan.com
Mon Feb 16 19:23:01 GMT 2004


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.


Tony

That would make sense that the LF/CRLF issue is one of distribution and let's let the
build script do LF only check out.

Thanks.



> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org 
> [mailto:cvsnt-bounces at cvsnt.org]On Behalf
> Of Tony Hoyle
> Sent: Monday, February 16, 2004 10:34 AM
> To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> Subject: Re: [cvsnt] CVSNT,WinCVS & LineFeed option - looking for best
> practice
> 
> 
> On Mon, 16 Feb 2004 10:15:48 -0800, "Ian Huynh" <ianh at hubspan.com>
> wrote:
> 
> >So our initial inclination is to enforce a new rule that all 
> files checkout uses ONLY UNIX LF.
> >
> >so the questions are
> >
> >1. are there any potential problems that people may have run into ?
> 
> As long as cygwin users checkout/in using cygwin CVS and WinCVS users
> checkout using WinCVS then there will not be an issue.  If you mix
> them then it's an accident waiting to happen (the sandboxes may not be
> entirely compatible anyway these days).
> 
> Personally I would make sure that users had only one of the two on
> their machines, to avoid accidents.  (Actually I would probably remove
> cygwin and make a couple of Linux boxes available for Unix testing).
> 
> Another way to handle it is to do admin -kL on the affected files,
> which forces them to unix linefeeds.   Only do this though if the
> win32 build tools won't barf.
> 
> >2. would I get a large amount files being different if I do  this ?
> >
> If you did it to everything, then a lot of the Win32 build tools would
> fail because they need CR/LF.
> 
> Enforcing that people checkout using LF seems to me to be just making
> life harder without any real benefit.  CVS handles the CR/LF issues
> well - CVSNT itself is built on multiple platforms.  The issue is only
> one of distribution... presumably you're distributing these Unix files
> in some way - in that case only your distribution script needs to do
> any kind of LF only checkout.
> 
> Tony
> 
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook