Basic CVS Commands
cvs up
– will bring code up to date with what's in the repository
cvs -qn up
– will display what has been changed. U means someone else has commited a change since you checked out. M means that you have modified it since you checked out. C means that both have happened.
cvs commit
– commit files. Note that you can skip dealing with an editor and enter your log message on the command line, i.e.
cvs commit -m “Entered comment describing file” mt.py
cvs add – to add a new file. After adding it, you must commit.
cvs co
– basically starting new, checks out new files on your machine. 'cvs co .' checks out everything. 'cvs co Scripts' would check out just the Scripts directory. This is helpful if you need to roll back one project to a previous version, like John has been doing with MarketModel and MarketBuilder.
– to check out a tagged version: cvs co -r tagname [directory_name]
cvs co -r DEPLOY_20030731 MarketModel
I think that you can change your default editor by putting 'setenv EDITOR /usr/bin/emacs' in your .cshrc. If that doesn't work, John should be able to tell you how to do it.
Let me know if you any problems/questions.
Post a Comment
You must be logged in to post a comment.