wiki:SubversionOther

Subversion Info for Other Repositories

List of Repositories

Repo Content Repo
UltraScan Main Website ultrascan_main
!UltraScan2 Informational Website ultrascan2_webinfo
!UltraScan3 Informational Website ultrascan3_webinfo
UltraScan LIMS Main Informational Website uslims
UltraScan LIMS Version 2 Informational Website uslims2_webinfo
UltraScan LIMS Version 3 Informational Website uslims3_webinfo
Common files for All UltraScan Sites ultrascan_common

Checkout from subversion with:

svn co svn+ssh://bcf.uthscsa.edu/Repo/trunk directory

Take a look at the table above and replace "Repo" with the appropriate repository. If you just want the files once:

svn export svn://bcf.uthscsa.edu/Repo/trunk directory

change the final "directory" 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/Repo/trunk directory

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/Repo/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/Repo/trunk directory

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 7 years ago Last modified on Jul 8, 2011 4:17:19 PM