From Computer Vision at Western
To help collaborate on projects, the vision group web server hosts a number of Subversion (SVN) repositories. Below you'll find general steps to access a repository called testrepo. The actual repositories are private and are set up for specific users, and are thus not listed here.
The first step is of course to install the SVN client software on your local machine. For Windows, install the latest version of TortoiseSVN; if you have 64-bit Windows, be sure to install the 64-bit TortoiseSVN. Reboot your machine.
To download an initial copy of a hosted repository, you need to "check out" the entire repository.
- Create a new, empty folder in the place where you want to work on the files.
- Go 'inside' that folder, right-click in the blank area, and select SVN Checkout from the menu.
http://vision.csd.uwo.ca/svn/testrepofor the remote repository URL and click OK.
- The SVN client software should download the most recent version of the repository's files ('HEAD').
Note that you can also visit the repository URL above in your web browser to simply view the latest files as they are hosted on the server.
Whenever you've edited your local copy of the files, you can push them back to the server for others to see. So long as nobody else has edited the same files in the interim, everything will go smoothly!
- To make sure nobody else has edited the same files as you, first go to the root folder of your local copy of files and right click on a blank area to select SVN Update. (You can do an 'update' at any time to get the server's most recent version of all files.)
- If there were conflicts (i.e. parallel edits) then follow the steps in "Resolving Conflicts" before committing your files.
- Right click again and select SVN Commit. Make sure all the files you expected to be changed are included (check-marked), especially new files that you created yourself. Type a message describing your changes and select OK.
If all goes well, the server repository is now synchronized with your local copy of the files, and others can use SVN Update to update their own copy with your changes.
This tutorial is not yet finished, sorry.
Adding New Repositories & Users
Each repository has its own list of users with checkout/commit permissions. If you'd like to host a new SVN repository or gain access to an existing one, please contact Andrew or look under \\suchmuch\users\adelong3\HowToCreateSVNRepositoryOnServer.txt for a tutorial.