Subversion Notes

Connecting to our unix server:

You can use a program like putty to connect. You must use a ssh client. Here is a basic unix tutorial for moving around: http://www.ee.surrey.ac.uk/Teaching/Unix/

Make a repository - You can skip this step since I made one for each group already, but if you want your own repository accessible via the bigmazzy file system then follow these steps

Initial checkout of project

  • Checkout codebase: svn checkout http://www.math.uaa.alaska.edu/svn/project_name

    Here, project_name is your project's assigned name (e.g. ccel, medical, chugach).

    Adding Files

  • Create files: pico foo.cpp, vi stuff.cpp, etc.
  • svn add foo.cpp stuff.cpp
  • svn commit -m "comment about new files"

    Editing Files

  • First get latest files: svn update
  • Edit: vi foo.cpp
  • svn commit -m "Changed blah blah"

    Tortoise SVN

  • Windows client. Download from: http://tortoisesvn.tigris.org/
  • Checkout URL: http://www.math.uaa.alaska.edu/svn/project_name.
  • You can also navigate to the URL in your web browser and browse through the repository code after logging in. If you like you can also use https, although the certificate on the server has expired and is self-generated so you'll get warning messages (although your data will be encrypted).