Quick guide to Subversion

1. Check out your group's directory from svn

$ svn co https://greengoblin.cs.hut.fi/svn/T2/groups/group##
Give your goblin account name and password when asked. List of groups is here. Note: You must use your original goblin password (which you got in mail) even if you have changed the password in the Goblin.

2. Add base code

Note: Step 2. is necessary to do only once.

Initially there are no files. You can decide what kind of directory layout you want (for example: docs/ and code/). To begin working you should add the base code and commit it to the repository (remember to give some meaningful commit-message):

3. Update local copy
$ svn up
4. Code
5. Commit
$ svn ci
Hint: When you create directories or files (for example doc/) you need to add them to version control with svn add file/directory.

Repeat steps 3. thru 5. until ready.

Basic idea of version control systems is that multiple users can work on the same code at the same time. Everybody just needs to checkout the repository (see step #1) do some programming and commit. You must update your local copy to match repository before committing (and its good to update before starting to work so you see all other changes).

More information about Subversion can be found in Subversion book