SVN Setup
The following instructions are for setting up your repository in the CEC labs using TortoiseSVN. EVERYONE must do this, as studios, quizzes, and exams will be given on the lab machines. If you wish to access your repository on your personal machine you may, but be aware that the instructions may differ depending on what SVN program you are using.
Checking Out
Open Windows explorer and create a new folder on your warehouse drive (should be H:). Right-click within the empty folder to bring up a "context menu", which should include an SVN checkout menu item. Selecting this will bring up a dialog box in which you can enter the URL for your repository. This takes the form
https://shell.cec.wustl.edu:8443/cse200_fl13/svn/Lastname-123456/
You should substitute your own last name in place of "Lastname" and your six digit student id number in place of "123456".
You will be prompted for a login name and password. Use your WUSTL KEY and password for this. Once you have successfully checked out your repository, you should see folders for Labs, Studios, and Lectures. These folders are how material will be distributed and collected from you over the course of the semester. This step only needs to be done once for each computer that you wish to access your files from.
Accessing the files within MATLAB
In order to work on your studios, labs, quizzes, etc., MATLAB must know where to find your files. In MATLAB you should navigate to the assignment you wish to work on by using the file explorer on the left side of the window, or the path window at the top of the window. For example, if you wish to work on Lab 1, make sure that MATLAB is in the Lab 1 folder.
Committing your work
In order to submit your work you must commit it. To do so, use Windows Explorer to navigate to your repository. Right click on the top most folder of your repository (the one you created on your H: drive) and select SVN commit. Follow the instructions that appear. Once you have finished, any changes you made to your files will be stored on the server so that they can be graded. Be sure to commit early and often! There is no limit on how many times you can commit, or how many times you may submit an assignment. You should ALWAYS commit at least once before you log off of the machine you are working on.
Updating your repository
I will distribute new assignments and files over the course of the semester. In order to access these files you will need to update your repository. Right click on the top most folder of your repository (the one you created on your H: drive) and select SVN Update. The computer will pull any new files from the server so that you may use them. Make any changes that you might want and then commit them back to your repository. If you have any files that you have changed in your repository you should commit FIRST before trying to make an update!