Re: Creating a UNIX module

Torsten Martinsen <[email protected]> Fri, 19 Feb 2010 22:30:03 +0100
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
Russ Pachl wrote:
>
> I may be confused then,
>
>  
>
> I have code that we deploy both on Windows and UNIX. When we commit 
> from our sandbox to CVS, it is not persisting the UNIX line endings 
> correctly for the scripts needed to install on UNIX. It is adding the 
> CR/LF to the end.
>
>  
>
> How do I get it to commit from my sandbox to CVS and retain the 
> correct line ending needed for UNIX?
>
(Please always Cc: the list).

Change the keyword substitution mode for the existing scripts: 
http://www.cvsnt.org/manual/html/Substitution-modes.html

In the future, when 'CVS Add'ing scripts, be sure to select 'Options -> 
UNIX line endings'.
>
>  
>
>  
>
>  
>
> *From:* Torsten Martinsen [mailto:[email protected]]
> *Sent:* Thursday, February 18, 2010 1:22 PM
> *To:* Russ Pachl
> *Cc:* tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> *Subject:* Re: [TortoiseCVS] Creating a UNIX module
>
>  
>
> Russ Pachl wrote:
>
> On the Tortoise FAQ -- "To detect whether a module was checked out 
> with UNIX line endings, TortoiseCVS looks at the CVS administrative 
> files in the CVS subdirectory: If the line endings for those files are 
> in UNIX style, a UNIX sandbox is assumed. Unfortunately, there are 
> some CVS clients (e.g. Eclipse) which create those files without a 
> single line ending, so TortoiseCVS cannot detect them as UNIX sandbox. 
> There's a preference setting that instructs TortoiseCVS whether to 
> default to DOS or UNIX in such cases"
>
>  
>
> Which administrative files need to be modified and how to support the 
> UNIX line endings?
>
> You are not supposed to modify the administrative files, CVS does that 
> for you.
>
> -Torsten
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
tortoisecvs-users mailing list
tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users