# CVS Access

Mesa's CVS repository (code management system) is hosted on freedesktop.org.

You may access the repository either as an anonymous user (read-only) or as a developer (read/write).

You may also browse the CVS repository.

## Anonymous CVS Access

Anonymous, public, read-only access to the CVS repository is available. Here are the basic instructions for Unix systems:

1. Install CVS client software on your computer if needed. Version 1.9.28 is known to work.
2. Login as an anonymous user:

           cvs -d:pserver:anonymous@pdx.freedesktop.org:/cvs/mesa login

   Just press Enter/Return when prompted for a password.
3. Check out the code:

           cvs -d:pserver:anonymous@pdx.freedesktop.org:/cvs/mesa co Mesa

To update your Mesa CVS source to the latest CVS source:

1. `cd Mesa`
2. `cvs -z3 -d:pserver:anonymous@pdx.freedesktop.org:/cvs/mesa update`

## Developer CVS Access

Mesa developers working with the Mesa CVS repository need to first have an account on freedesktop.org. You can request an account from either Daniel Stone or Eric Anholt.

Once your account is established, you can check out the Mesa CVS tree with:

       setenv CVS_RSH ssh        (if using a csh-like shell)

OR

       export CVS_RSH=rsh        (if using a bash-like shell)

followed by:

       cvs -d:ext:yourusername@pdx.freedesktop.org:/cvs/mesa co Mesa

Of course, replace yourusername with your actual login name.

Subsequent updates should only require:

       cvs update