Notes to self: Basic CVS Command Line
Self,
Please remember next time…
To create a new module in a given repo:
export CVSROOT=:pserver:USERNAME@CVSSERVER:/PATH/TO/REPOSITORY
mkdir PROJECT
cp FILES PROJECT/
cvs import PROJECT INITIAL start
rm -rf PROJECT
cvs checkout PROJECT
And to add files recursively from a folder:
find . -type d -print | grep -v CVS | xargs cvs add
find . -type f -print | grep -v CVS | xargs cvs add
cvs commit -m “MESSAGE”
Thank you,
Self

2 comments