wiki:SubversionLims

Subversion Info for the US3 version of LIMS

Checkout from subversion with:

svn co svn+ssh://bcf.uthscsa.edu/us3_lims/trunk us3_lims

or if you just want the files once:

svn export svn://bcf.uthscsa.edu/us3_lims/trunk us3_lims

change the final 'us3_lims' above to any directory name you desire. It will be created in the current directory.

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

svn co svn+ssh://username@bcf.uthscsa.edu/us3_lims/trunk us3_lims

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

SVN_SSH="ssh -C" svn co svn+ssh://username@bcf.uthscsa.edu/us3_lims/trunk [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.

If you use:

svn co svn://bcf.uthscsa.edu/us3_lims/trunk us3_lims

you will be able to get updates with:

svn update

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 http://svnbook.red-bean.com/en/1.4/svn-book.html

Last modified 8 years ago Last modified on Jul 12, 2010 10:07:20 PM