SVN
The lab maintains an SVN repository set, accessible through SVN+SSH.
Do not use the SVN repositories to store large amounts of binary data, movies, etc.
Be careful not to step on other people's repositories!
- Location: (normally accessed via blit.stanford.edu)
/usr/graphics/svn
- Authentication:
Authentication is done using ssh, so we recommend you set up
SSH identities
on machines you use often.
Otherwise you'll have to type in usernames/passwords
for every SVN command you do
- Checking out a repository:
- To check out a whole repository under your current directory:
svn co svn+ssh://blit.stanford.edu/usr/graphics/svn/<your_repository_name_here>
- If you want to only check out a few sections of the entire repository, first check out the top-level only, then add sections using svn update
- To check out only the top-level of the repository:
svn co -N svn+ssh://blit.stanford.edu/usr/graphics/svn/<your_repository_name_here>
- To list all entries that exist in the repository in your current directory:
svn list
- To add only a certain entry in the repository to your working copy:
svn update <entry>
- Creating new repositories:
If you'd like to add a repository for your group or project,
follow these steps:
- Login to graphics as yourself (or whoever you want to own the repository)
- cd /usr/graphics/svn
- svnadmin create --fs-type fsfs <your_repository_name_here>
- This will create a new directory under /usr/graphics/svn with your repository name
- You will likely need to go into the new repository directory and make at least the "db"
subdirectory and its children group writable, or you will be the only person able to check
things in, e.g.
chmod -R g+w /usr/graphics/svn/<your_repository_name_here> .
External access:
Currently, there is no way for people without graphics labs accounts to access the SVN repositories. However, SVN does support being run through Apache,
so if you have a need for this, it can be looked into.
More documentation:
The SVN Book is a detailed source of information on SVN usage and best practices.
If you have questions, please ask Andrew Adams or Eddy Talvala in Gates 376, who originally got the system going.
Last update:
August 19, 2010 09:46:02 PM
© 1994-2013
Stanford Computer Graphics Laboratory