next up previous contents 5
Next: CVS software projects Up: Using CVS for source Previous: Using CVS for source   Contents

Accessing SSRL's CVS repository

To access the CVS repository you will need a username and password provided by SSRL. CVS does not provide secure encryption, so the CVS account will not be related to an actual SSRL computer account.

Follow these steps to check out a project from CVS.

  1. Log in to CVS. This will talk to the SSRL repository and also write your password onto your local file system so that later CVS commands do not need the password.

    cvs -d :pserver:yourusername@smb.slac.stanford.edu:/home/code/repository login
    Logging in to :pserver:yourusername@smb.slac.stanford.edu:2401/home/code/repository
    CVS password:
    

  2. Checkout a project, replacing projectName in the following statement with an actual project.

    cvs -d :pserver:yourusername@smb.slac.stanford.edu:/home/code/repository checkout projectName

  3. Change into the project directory.

    cd projectName

  4. Within the project directory structure, it is not necessary to specify the project's repository when issuing CVS commands. For example, 'cvs diff -r HEAD' will compare your latest version against SSRL's latest version.

Note: In this documentation it will be necessary for external collaborators to change all of the example 'cvs checkout' commands to the full pserver style command:

cvs -d :pserver:yourusername@smb.slac.stanford.edu:/home/code/repository checkout


next up previous contents 5
Next: CVS software projects Up: Using CVS for source Previous: Using CVS for source   Contents
Scott McPhillips 2003-03-11