[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Unlearning default CVS ignore pattern

From: Bulgrien, Kevin
Subject: RE: Unlearning default CVS ignore pattern
Date: Tue, 25 Jan 2011 08:22:47 -0600

>  At e.g.
>  we see that CVS has a default set of patters for ignoring files;
<snip />
>  I have a project, where I need CVS to also consider .so-files.
>  How is it possible to unlearn/change the default ignore patterns?
>  Either in the distribution side or in user land...

"In any of the 5 places listed above, a single exclamation mark ('!') clears 
the ignore list. This can be used if you want to store any file which normally 
is ignored by CVS."

cd ~
mkdir -p test/repo test/sandbox
cvs -d ~/test/repo init
cd ~/test/sandbox
cvs -d ~/test/repo co .
cvs -nq update
echo "!" >cvsignore
cvs add cvsignore
cvs commit -m 'Disable default ignores' cvsignore
cd ..
cvs -nq update

$ bash test
cvs checkout: Updating .
cvs checkout: Updating CVSROOT
U CVSROOT/checkoutlist
U CVSROOT/commitinfo
U CVSROOT/config
U CVSROOT/cvswrappers
U CVSROOT/loginfo
U CVSROOT/modules
U CVSROOT/notify
U CVSROOT/postadmin
U CVSROOT/postproxy
U CVSROOT/posttag
U CVSROOT/postwatch
U CVSROOT/preproxy
U CVSROOT/rcsinfo
U CVSROOT/taginfo
U CVSROOT/verifymsg
cvs add: scheduling file `cvsignore' for addition
cvs add: use `cvs commit' to add this file permanently
/home/kbulgrien/test/repo/CVSROOT/cvsignore,v  <--  cvsignore
initial revision: 1.1
cvs commit: Rebuilding administrative file database

There you have it.

Kevin Bulgrien

This message and/or attachments may include information subject to GD Corporate 
Policy 07-105 and is intended to be accessed only by authorized personnel of 
General Dynamics and approved service providers.  Use, storage and transmission 
are governed by General Dynamics and its policies. Contractual restrictions 
apply to third parties.  Recipients should refer to the policies or contract to 
determine proper handling.  Unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not an intended recipient, please 
contact the sender and destroy all copies of the original message.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]