Two Guys Arguing

Notes to self: Basic CVS Command Line

Posted in notes_to_self by benjaminplee on 01.19.10

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

Tagged with:
Follow

Get every new post delivered to your Inbox.