For more informations see
setenv CVSROOT :pserver:user@hepcvs.oeaw.ac.at:/data/cms/cvsroot cvs loginuser is your user name at hepcvs (ask Gerhard Walzel ( gerhard@hephy.oeaw.ac.at) for help if needed).
A valid password is required when logging in to the CVS server.
Change to the directory under which the GMT structure should be created. The following commands will create a subdirectory 'GMT' containing the whole GMT tree below this directory.
cvs co -r tagname GMTtagname is the tag (version) of the code and tools to check out. (e.g. GMTBoard_beh_works_14Nov2003)
To check out the latest version of all files (the 'CVS head'), the -r tagname option may be omitted.
The cvs co command can also be used to check out a single file by changing to the directory of the file and typing:
cvs co -r revision_number_or_tagname FileNamerevision_or_tagname is either a tag name or the revision number of a single file (e.g. 1.21).
The log (or revision history) of a file can be displayed by changing to the directory of the file and typing:
cvs log FileName
cvs diff -r revision_number_or_tagname FileNameThe difference can also be displayed graphically using tkdiff.
tkdiff -Crevision_number FileNameIf -Crevision_number is omitted, tkdiff compares the file in the work area to the latest version in the repository.
cvs commit -m "comment on changes" FileNameThe new version will be checked in. The file revision number will be increased (e.g. from 1.10 to 1.11).
In the directory of the new file type:
cvs add FileNameThis has to be done before committing a new file for the first time. The command also is used to add a new directory to the repository.
Change to the directory containing the files to tag. All files in the repository residing in directories below will also be tagged. That will be tagged is the last version checked out or committed to the repository.
cvs tag tagname .To tag the lasted checked out / committed version of everything:
cd GMT cvs tag tagname .tagname is a symbolic name like LogicFPGA_problemxy_fixed