SVN Info
- Open up a terminal in the VM or log into the undergrad environment
- Issue the following command (all one line unless you
include the line-continuation character) to check out your source
code repository:
svn co https://anlujo.cs.uwaterloo.ca/cs349_w12/<your_user_id>/<assn> \ --username <your_user_id> --password <svn_password>where- <your_user_id> is your UW userid
- <assn> is one of {a01, a02, ...a05}, as appropriate.
- <svn_password> is your svn password; it was (will be) emailed to you early in the term.
On the class VM, you may also receive a prompt that says "Password for '(null)' GNOME keyring:". Here, enter the password for the student account (iluv349).
- If all goes well, the above command will check out the default source code tree for assignment <assn>.
- Any new files you create must be added using "svn add"
before they can be added to the repository. For example, to add
the file "README.VM", issue the following command:
svn add README.VM
Note that "svn add" does not upload the files, it simply marks them for addition at the next check-in.
- You will need to check in your source code files (any files
that have been edited or added) for us to be able to mark them.
To check in your files, use:
svn ci -m "Some optional check-in message here"
- To ensure there are no files lingering around that you want
checked in, but didn't check them in (or forgot to add), you
can issue:
svn st
This command will tell you the current status of the repository. - To test that your files are submitted as expected, you can repeat the process of checking out your source code in a new directory, then making and running your code in that new directory.
- There is much more documentation available here.