SVN

Subversion (SVN) is the version control system used on most of the Mozilla websites. The Mozilla repository is available at svn.mozilla.org. There is also an alternative view which provides RSS feeds and other information at viewvc.svn.mozilla.org.

If this doesn’t work, hop on IRC and we’ll see what we can do for you. If you work out more solutions, please add them to this page.

Linux

Install a package that works for you. If you’re on debian or ubuntu ‘apt-get install subversion’ will handle all this for you.

You could simply use your LDAP username/password to checkin/checkout to svn over https. If you'd rather use ssh, then the following entries in your ~/.ssh/config file will make life easy. Replace blah@domain.com with your e-mail address.

~ $cat ~/.ssh/config
Host svn.mozilla.org
User blah@domain.com
~ $

How to Use SVN

Subversion is designed so that a conversion from CVS is as painless as possible. This is a short introduction to some basic commands - please read the "Notes" section below for more useful links.

commit (ci)

Once your code is checked out, you can commit your changes back to the repository. This command takes an optional list of files or directories to commit, if you only want to commit some changes. An example:

svn commit

If you’d like to add a comment and commit all in one line, you can try this command:

status

Regarding commands, this is one of the largest differences from CVS. Instead of
having to update your tree to check the status of files, SVN has this command which will list the differences without affecting your files. See the
status documentation
page for what the letters mean.