Howto setup CVS for NPA ----------------------- setenv CVSROOT /afs/slac.stanford.edu/g/npa/repo Howto use CVS ------------- Some fundamental CVS commands: cvs co # Checkout from HEAD of CVS cvs -n update # Update dry run (no changes are made to current dir) cvs update -dA # Update current directory to the HEAD of CVS cvs diff # Difference from HEAD (or current tag if sticky tag) cvs diff -r # Difference from tag cvs add # Add new file to your package cvs rm # Remove file from your package (must be deleted first) cvs commit -m "" # Commit changes to modified # file using cvs commit # Commit all modified files under current dir cvs log # Show history for file cvs tag # Tag package with Howto create a new package -------------------------- - change to your working directory and call cvs import: cd cvs import -m "Initial import" - since the above command will commit all the files under , you might consider to keep empty and then add files and sub directories by hand later (that way you might be able to maintain a better control of what you commit) - use a meaningful name for , possibly starting with the string 'Npa' - the and strings are mandatory, but it's not important what you actually specify - after import checkout the CVS package: cd .. cvs co cd - optionally add files and directories: cvs add cvs add cvs add / - edit your working files as needed - when ready, commit and tag: cvs commit cvs tag - use a meaningful name for , eg something like Vjj-nn-rr (typically bump by one for bug fixes, for new features and for major changes)