wiki:Subversion

Subversion Info

Checkout from subversion with:

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

or if you just want the files once:

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

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

Note: The URLs above that start with svn:// are not available off campus due to IT blocking the svn port 3690. In that case, use the svn+ssh:// url scheme.

If you use:

svn co svn://bcf.uthscsa.edu/lims/trunk 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 12 years ago Last modified on Jan 27, 2008 4:49:09 PM