Subversion Info

Note for the current alpha version of us2 somo, use 

instead of 


A privileged user can checkout from subversion with:

svn co svn+ssh:// ultrascan 

or any user can get the sources. If you just want the files once:

svn export svn:// ultrascan  

change the final 'ultrascan' above to any directory name you desire. It will be created in the current directory. If you use:

svn co svn:// ultrascan  

any user will be able to get updates with:

svn update 

To pass a different privileged user to an ssh access to svn, use

svn co svn+ssh:// ultrascan 

To pass separate parameters to ssh, such as compression, an environment variable like:

SVN_SSH="ssh -C" svn co svn+ssh:// [PATH] 

can be used. Another alternative is to set up a custom user and parameters in your $HOME/.ssh/config file. See the man page for ssh_config for more details. but you will not be able to check anything into the system.

When you are creating a new file or directory, you need to tell the SVN server about it.

svn add <filename(s) or directory>

When adding a file to svn, be sure to set attributes (on text files):

svn propset svn:keywords "LastChangedDate Author"  <filename>

For non-ASCII files, set the appropriate MIME type. E.g. for png files:

svn propset svn:mime-type image/png <filename>

For arbitrary binary data:

svn propset svn:mime-type application/octet-stream <filename>

Other svn commands include "delete", "status", "diff", "move", and "commit". For more details on subversion see the on-line book at

Last modified 5 years ago Last modified on Sep 26, 2015 4:38:55 PM