SVNServe


Svnserve
http://svnbook.red-bean.com/en/1.0/ch06s03.html

init script for redhat
#!/bin/bash

case "$1" in
start)
		/usr/local/bin/svnserve -d -r /home/svnrepo --config-file /etc/svnserve.conf
		echo $! > /var/run/svnserve.pid
;;

stop)
		kill `cat /var/run/svnserve.pid`
;;

esac


svnserve.conf
anon-access = none
auth-access = write
password-db = /home/svnpasswd
realm = Subversion repository


/etc/svnserve.pwd
[users]
joeuser = joepassword
jayrandom = randomjay


Test by
# svn list svn://localhost/
branches/
tags/
trunk/
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki