# how to add a project to a CVS repository # $Id: cvs.txt,v 1.5 2002/11/04 06:11:58 rjmooney Exp $ # create a temporary directory to root the project mkdir /tmp/a cd /tmp/a # create the project in CVS; since we're not a vendor per se, and we don't plan # any releases that need to be tagged, use generic tags cvs import PROJECT VENDOR RELEASE # change to the project directory, and then to the parent-- CVS creates a dir # for the project in the directory from which CVS is invoked cd /PROJECT cd .. # remove the temporary directory rm -rf /tmp/a # check out the project cvs co PROJECT cd PROJECT # add the directories containing HTML (ie. all of them) find . -type d -exec cvs add {} \; 2> /dev/null # add the HTML find . -name "*.html" -exec cvs add {} \; 2> /dev/null # initial HTML check-in find . -name "*.html" -exec cvs commit -m "Initial import" {} \; 2> /dev/null