Crear otro repositorio subversion.
Esto no es un How-To, es una nota mental.
Creando el repositorio
$ sudo svnadmin create /home/svn/mirepositorio $ sudo chown www-data.svn -R /home/svn/mirepositorio
Configuración del apache para el nuevo repositorio:
$ sudo vim /etc/apache2/mods-available/dav_svn.conf
<Location /svn/mirepositorio> DAV svn SVNPath /home/svn/mirepositorio AuthType Basic AuthName "mirepositorio's Subversion Repository" AuthUserFile /etc/apache2/htpasswd Require valid-user </Location>
Añadimos un usuario:
$ sudo htpasswd -b /etc/apache2/htpasswd usuario clave
Recargamos apache:
$ sudo /etc/init.d/apache2 reload
Comprobamos:
navegador: http://fernandoguillen.info/svn/mirepositorio/ consola: $ svn checkout http://fernandoguillen.info/svn/mirepositorio
Crear las carpetas iniciales:
$ svn mkdir http://fernandoguillen.info/svn/mirepositorio/trunk $ svn mkdir http://fernandoguillen.info/svn/mirepositorio/branches $ svn mkdir http://fernandoguillen.info/svn/mirepositorio/tags
Primer import:
$ svn import http://fernandoguillen.info/svn/mirepositorio/trunk
Mi sistema:
Ubuntu Gutsy Gibon 7.10 Subversion version 1.4.4 Apache 2
Septiembre 17th, 2008 at 5:45 am
jojojojo Q FRIKI