subversion user control

Published by

Posted on October 18, 2008

You can give public access to your SVN repository but deny commit rights ..  You will need to edit your http.conf as follows

 

 

Reference sites , but these sites had some conflicting information
http://chestofbooks.com/computers/revision-control/subversion-svn/Blanket-Access-Control-Serverconfig-Httpd-Authz-Blanket.html

and

http://cheminfo.informatics.indiana.edu/~rguha/misc/svnapache.html

http://davidwinter.me.uk/articles/2006/03/03/access-control-for-subversion-with-apache2-and-authz/
*the above link has some incorrect information in which i will correct later , when creating the access file the tags should be [reposname:/] instead of [/reponame]
-===========================

command line
===========
checkout
svn co svn+ssh://123.45.67.890/home/demo/repository/project1/trunk project1
...
svn co svn+ssh://123.45.67.890/home/demo/repository/project2/trunk project2

commit
svn import /home/demo/project2/ file:///home/demo/repository/project2/trunk -m "Initial import of project2"

faq:
http://subversion.tigris.org/faq.html