User Tools

Site Tools


Sidebar


guides:source_control:svn

SVN

Cleanup

recursively delete .svn directories

 rm -rf `find . -type d -name .svn`

Add new users

 htpasswd -m /etc/svn-auth-conf username
 New password:
 Re-type new password:
 Adding password for user username

Update user access rules

 vi /etc/svn-access-conf

Creating a new repos

 svnadmin create /var/www/svn/repos

Importing into repos

 svn import  http://192.168.26.70/repos/projectname -m "initial import" 

Dump repository

 svnadmin dump /var/www/svn/repos > repos.dump

Load repository dump:



 svnadmin load /var/www/svn/repos < repos.dump

Installing on Centos 5.2

 yum install svn
guides/source_control/svn.txt · Last modified: 2009/10/27 08:58 by michaelc