Skip to navigation
Script for creating a svn repository
07.12.13
Reply
Anonymous
#!/bin/sh \ svnadmin create /home/svn/repository/$1 svn mkdir --message="Setting up" file:///home/svn/repository/$1/trunk file:///home/svn/repository/$1/tags file:///home/svn/repository/$1/branches chown www-data:root /home/svn/repository/$1 -R DAV=`cat <
\n DAV svn\n SVNPath /home/svn/repository/$1 \n AuthType Basic\n AuthName "Subversion Repository"\n AuthUserFile /etc/apache2/dav_svn.passwd\n Require valid-user\n \n\n\n EOF` echo -e $DAV >> /etc/apache2/mods-available/dav_svn.conf #Usage: # svn.sh myproject
07.12.13
Reply
Anonymous
Information Epoch 1732483827
Design for the future, because it will be here sooner than you think.
Home
Notebook
Contact us