Glencora Borradaile






         Assistant Professor, School of Electrical Engineering and Computer Science, Oregon State University

Version control

To access the svn repository, I will have given you three things:  a project name PROJECT, a username USER and a password PWD.  You will start by accessing a directory on your local computer where you would like to work on PROJECT.  At a command line, you will type:

svn co ‒‒username USER http://svn.glencora.org/PROJECT

You will be prompted for your assigned password.  The files for the project will then appear in a new directory called PROJECT.

To update your local copy, place yourself in this new directory (PROJECT) and type:

svn update

After you have changed a file (FILE.FIL) and wish to upload (“commit”) your changes to the server:

svn commit -m “DESCRIPTION OF CHANGES MADE” FILE.FIL

If you would like to add a file (FILE.FIL) to the repository:

svn add FILE.FIL

and then commit.  If you try to commit and svn tells you that your version is not up to date, update your local copy, handle any merging conflicts and commit your new version.  Only commit files that compile.

For more details on subversion, see the online manual.

© 2012 Glencora Borradaile   Powered by WordPress MU    Hosted by blogs.oregonstate.edu
Powered by Wordpress | Blog with Akismet