Website:Subversion

From UGCS
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
=Subversion=
 +
 
Please note: this is not an introduction/howto use Subversion, you should google for that. This is how to use Subversion on the UGCS cluster.
 
Please note: this is not an introduction/howto use Subversion, you should google for that. This is how to use Subversion on the UGCS cluster.
  

Revision as of 04:26, 10 October 2007

Subversion

Please note: this is not an introduction/howto use Subversion, you should google for that. This is how to use Subversion on the UGCS cluster.

To create a svn repository, do this on the cluster: svnadmin create ~/public/svn

By default, anyone will be able to check out the code but only you will be able to edit it. In order to allow others to edit it you will need to grant them rlidw permissions, and in order to allow others to read it you will need to grant them rl permissions. To make a repository private, do not give anyone any other privileges (eg by creating in your ~ instead of in public).

To change permissions: fs sa FOLDER USER PERMS

eg, to let anyone check in or out code: fs sa ~/public/svn system:anyuser rlidw

Once you have created a repository, you can access it thus:

svn co svn+ssh://calliope.ugcs.caltech.edu/afs/.ugcs/user/<username>/public/svn

replacing co with whatever operation you want, and the path above with the path to your repository

Personal tools