Using the svn repository to checkout and commit assignments The address for your svn repository is http://svn.cs.rose-hulman.edu/repos/csse432-201030-<userid> where <userid> is your kerberos id. In the instructions below >>> represents the Linux prompt. 1. Launch Ubuntu and open a terminal. 2. Change directory to the Documents directory using this command: >>> cd ~/Documents 3. Make a directory for csse 432 material and cd to that directory >>> mkdir csse432 >>> cd csse432 3. Checkout the contents of your svn repository as follows: >>> svn co http://svn.cs.rose-hulman.edu/repos/csse432-201030-<user-id> 4. After editing a file or files in your repository, you need to commit the changes you made to the file(s) back to your svn repository. The grader will checkout the files from your repositories to grade, after the respective deadlines. Also, you may use the repository for version control on your files i.e. to save older and intermediate versions of your program as you work on the final version of the program. Here's how to commit your changes back to the repository. >>> svn commit -m "Enter a commit message here" <files> >>> svn commit -m "Enter a commit message here" . // The dot indicates the current directory. Note: Commit often and use appropriate commit messages. The -m flag is used for logging your message. 5. You may add files to your local, working copy of your repository and wish to add those files to the repository on the svn server. Here is how you do this: >>> svn add <file_name> >>> svn commit -m "Enter a commit message here" Note: if you do not specify the file or directory to commit to the repository, the current directory will be committed. 6. You may wish to update your local, working copy of your repository so that your working copy is up to date with your repository on the svn server. Here's how you do this: >>> cd ~Documents/csse432 >>> svn up . Note: Update and commit often. Note: For more details, take a look at the svn reference card, available under General Resources. To download and install TortoiseSVN, a Subversion version control client for Windows XP, go to http://www.rose-hulman.edu/class/csse/resources/TortoiseSVN/installation.htm To download and install RapidSVN, a Subversion version control client for Linux, use the Synaptic Package Manager, or at the Linux prompt type: sudo apt-get install rapidsvn