Linux/Mac SVN Client Instructions

For linux and mac users, the easiest way to use a software repository is from the command line. Mac OS X has svn preinstalled, and most linux distributions do as well. Follow the steps below to check out the repository files (Note: These steps assume a small degree of familiarity with unix, if you have not used the command line in the past, it would be a good idea to quickly read over a unix tutorial like this one).

First, create a new folder where you would like to save the repository using the command "mkdir." Substitute your desired path and folder name for path_to_folder and name_of_folder.

mkdir /path_to_folder/name_of_folder
Now change your directory so that you are working in the folder you just created. Again, substitute the path and folder name you used in the last step for path_to_folder and name_of_folder.

cd /path_to_folder/name_of_folder
Now check out a copy of the code you want using the "svn checkout" command. If there is a specific folder in the repository you want you can specify the path to it at the end of the repository name. A couple examples are given below.

This will check out the entire repository:
svn checkout http://conte.bu.edu/code/

This will check out the CommonTools folder and all of its subfolders:
svn checkout http://conte.bu.edu/code/CommonTools/

This will only check out the file "VideoViewer.m":
svn checkout http://conte.bu.edu/code/CommonTools/trunk/VideoViewer.m


To check your files for updates use the "svn update" command. If you checked out the whole repository, you will have a folder named "code" inside the folder you created. The line below demonstrates how to update that folder, but any file can be updated this way. Replacing the word "code" in the command below with the full path to any versioned file will check it for updates.

svn update code
Participating Institutions:
Boston University Center for Memory and Brain Department of Biomedical Engineering Department of Mathematics