CVS (The Open Standard for Version Control): our version
manager
working directory -> repository -> modules -> files &
subdirectories
- versions
- tags
eerst import, dan checkout voor te kunnen cvs'en
Documentation
Possible problems at our lab
    see also the cvs
manual-troubleshooting
  - when CVS gives a permission denied problem:
 
  
    - add name of the machine (infopc$$.vub.ac.be) to the list
.rhosts-file
of
your root directory
 
    - user must have write permissions in cvs repository
     
  
Configuration
setenv CVSROOT
:ext:info9:/home/cvsroot
setenv CVSEDITOR emacs
Commands
  - help:
 
  
    - help about a command: cvs
-H command
 
  
  - add file:
 
  
    - cvs add [myfile]
 
    - dan committen
 
    - add line at the beginning of the file:  $Id$  
(in
comments)
 
    - add line at the end of the file:  $Log$   (in
comments)
 
  
  - add directory:
 
  
    - cvs add [mydirectory]
 
    - automatically a CVS-subdirectory is created
 
  
  - delete file:
 
  
    - cvs delete [myfile]
 
    - then commit the file
 
  
  - commit file(s)
 
  
    - cvs commit [myfile]
 
    - you are asked to enter a comment about the modifications
 
    - CVS checks modifications, when it finds conflicts, the file is
not
committed,
you'll have to update the file first and check for conflicts ($$)
 
    - commit modified files of a whole directory: cvs commit
 
    - whole simPl2: cvs commit simPl2 (in root directory van simPl2)
 
  
  - update file(s)
 
  
    - cvs update [myfile]
 
    - whole directory: cvs update ($?)
 
    - whole simPl2: cvs update simPl2 (in root directory van simPl2)
 
    - to retrieve a newly created directory: cvs update -d ...
 
    - sometimes CVS update -A is necessary to really upload some
'blocked'
files
 
  
  - codes of modification check (when updating):
 
  
    - C: CONFLICTS, has to be corrected in the file!!!
 
    
      - conflicts: first your version & then the same codelines
in the new
version
 
    
    - P: i think: new version (no modifications at your side)
 
    - M: merge of new version with your local modifications
 
    - U: update, file is added
 
    - ?: this file is not properly in cvs (ignore for .d files)
 
  
  - finding differences
 
  
    - cvs diff [file]
 
    - diff a whole directory: cvs diff
 
    
      - find files that are not in cvs yet!!
       
    
    - diff whole simPl2: cvs diff simPl2   (in root
directory of
simPl2)
 
  
  - status of files
 
  
    -  cvs status [file]
 
    - show tags: cvs status -v [file]
       
  
  - history of files
 
  
    -  cvs log [file]
 
    - show all tags: cvs status -v [file]
       
  
  - tagging  (do this
for working versions)
 
  
    - add tag to all files of directory & subdirectories: cvs
tag
release-2003
 
    - show tags: cvs status -v
 
    - checkout tagged version (release): cvs checkout -r
release-2003
 
  
  -  import
 
  
    - ignoret sommige files
 
    - volgt ie links?
 
    - wat doet ie met lege directories?
 
  
  - checkout
 
  
    - module or module/path
 
    - doe in root directory, hij maakt alle directories aan