Changes

Jump to navigation Jump to search
612 bytes added ,  15:44, 6 December 2012
no edit summary
* svn status --verbose
* svn log = display the history of changes to a file or directory
* Remember to use the full path AS IT EXISTS ON THE SERVER if using svn+ssh, ex: svn co svn+ssh://iicbu2/srv/svn/repositories/iicbu
==typical work cycle==
** run svn diff -c 9238 to see the patch itself
* svn merge -c 9238 = merge changeset r9238 into your working copy
* svn merge -r LastRevisionMergedFromTrunkToBranch:HEAD url/of/trunk path/to/branch/wc
* svn switch http://svn.example.com/repos/calc/branches/my-calc-branch
** switch transforms an existing working copy to reflect a different branch
-m "Creating stable branch of calc project."</pre>
==Administration==
* [http://www.linuxfromscratch.org/blfs/view/svn/servergeneral/svnserver.html Step-by-step directions]
* do everything as root
* svnadmin create /var/svn/repos
* svn mkdir file:///srv/svn/repositories/iicbu/wndchrm -m "Setting up repository structure"
* make hooks by copying hook template files to the appropriate location
 * many more commands===now go to <repository>/conf/ directory===** IF YOU HAVE AUTHORIZATION FAILED ERRORS, THIS IS HOW YOU FIX THEM
* svnserv.conf = control configuration of the svnserve daemon
*# uncomment "anon-access = read"
* chmod -R g+w /srv/svn/repositories/svntest
* chmod g+s /srv/svn/repositories/svntest/db
===setting root directory for svn access===
* looks like you specify the root using the svnserve daemon
<pre>
colettace@iicbu2 /srv/svn/repositories/iicbu/conf
$ ps aux | grep svnserve
svn 2590 0.0 0.0 10320 760 ? Ss 16:11 0:00 /usr/bin/svnserve.orig -d --threads --root /srv/svn/repositories/
</pre>
==Server Configuration==
2,466

edits

Navigation menu