[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Issues with svn add

From: Johan Bogema <johan_at_bogema.nl>
Date: Fri, 11 Apr 2008 14:43:50 +0200

Hi David,

Do you use your server to host any other website? or is it a dedicated
SVN server? If it is a dedicated SVN server you can simply comment the
following directives (and whatever belongs to it):
DocumentRoot
<Directory />
<Directory [path/to/documentroot]>

If you then have the entry <Location /> as you have your /svn now, it
should work (at least that's how it works in my setup)

Regards,

JB

On 11 apr 2008, at 13:54, David Rodríguez Fernández wrote:

> Ok, I have solved the issue. My problem was that I have configured
> apache with:
> <Location />
> But works with
> <Location /svn/>
>
> I cannot use a whole domain for subversion?
> This is a feature or a bug?
>
> On Thu, Apr 10, 2008 at 1:42 PM, David Rodríguez Fernández <davidrf_at_gmail.com
> > wrote:
> Hi.
>
> I have a Suse Linux Enterprise Server with subversion 1.4.6
> (r28521). and apache2.
>
> When I create a new repository, I can add or import new files to the
> repository once time, after this, I cannot add more files, but can
> modify the existing files in first import:
>
> I create the repository in my server with:
> svnadmin create repository
> chown -R wwwrun:www repository
>
> Then in my windows pc I checkout the empty repository:
> c.\>svn co http://subversion.company.com/repository/
> Revisión obtenida: 0
>
> I copy a folder to my local copy and add the folder to repository
> C:\>cd repository
>
> C:\repository>dir
> El volumen de la unidad C no tiene etiqueta.
> El número de serie del volumen es: 6B60-A5B6
>
> Directorio de C:\repository
>
> 10/04/2008 13:23 <DIR> .
> 10/04/2008 13:23 <DIR> ..
> 10/04/2008 13:23 <DIR> class
> 0 archivos 0 bytes
> 3 dirs 14.335.356.928 bytes libres
>
> C:\repository>svn add class
> A class
> A (bin) class\DatosVerificarClave.class
> A (bin) class\DescifrarEnvio.class
> A (bin) class\EnvioRHO.class
> A (bin) class\EstructuraImagenXML.class
> A (bin) class\Firma.class
> A (bin) class\FirmaEnManifiesto.class
> A (bin) class\GeneradorFichero.class
> A (bin) class\ImagenesFirmaServlet.class
> A (bin) class\MD5Sum$MD5State.class
> A (bin) class\MD5Sum.class
> A (bin) class\ObtenerConexionDB.class
> A (bin) class\ParametrosConfiguracion.class
> A (bin) class\RecuperaXML.class
> A (bin) class\RegistroImagen.class
> A (bin) class\ServicioImagenesFirma.class
>
> I can commit the changes and the files go to subversion server
>
> C:\repository>svn ci -m "Inicio"
> Añadiendo class
> Añadiendo(bin) class\DatosVerificarClave.class
> Añadiendo(bin) class\DescifrarEnvio.class
> Añadiendo(bin) class\EnvioRHO.class
> Añadiendo(bin) class\EstructuraImagenXML.class
> Añadiendo(bin) class\Firma.class
> Añadiendo(bin) class\FirmaEnManifiesto.class
> Añadiendo(bin) class\GeneradorFichero.class
> Añadiendo(bin) class\ImagenesFirmaServlet.class
> Añadiendo(bin) class\MD5Sum$MD5State.class
> Añadiendo(bin) class\MD5Sum.class
> Añadiendo(bin) class\ObtenerConexionDB.class
> Añadiendo(bin) class\ParametrosConfiguracion.class
> Añadiendo(bin) class\RecuperaXML.class
> Añadiendo(bin) class\RegistroImagen.class
> Añadiendo(bin) class\ServicioImagenesFirma.class
> Transmitiendo contenido de archivos ...............
> Commit de la revisión 1.
>
> If I create a new file:
> C:\repository>dir > new_file.txt
>
> C:\repository>svn add new_file.txt
> A new_file.txt
>
> The commit fails and the file don't go to server.
> C:\Escritorio\repository>svn ci -m "new file: new_file.txt"
> Añadiendo new_file.txt
> svn: Falló el commit (detalles a continuación):
> svn: requerimiento PROPFIND falló en '/repository/new_file.txt'
> svn: Could not open the requested SVN filesystem
>
> And in my apache error_log:
> (20014)Internal error: Can't open file '/subversion/repositorio/
> error/format': No such file or directory
> Could not fetch resource information. [500, #0]
> Could not open the requested SVN filesystem [500, #2]
> Could not open the requested SVN filesystem [500, #2]
>
>
> But if I modify and existing file this is send without problems:
> C:\repository>cd class
> C:\repository\class>dir > MD5Sum$MD5State.class
> C:\repository\class>svn ci -m "new file: new_file.txt"
> Enviando class\MD5Sum$MD5State.class
> Transmitiendo contenido de archivos .
> Commit de la revisión 2.
>
>
> Any help?
>
> --
> Nadie es tan joven que no se pueda morir mañana, ni tan viejo que no
> pueda vivir un día más.
>
> – La Celestina (Fernando de Rojas, 1499)
>
>
>
> --
> Nadie es tan joven que no se pueda morir mañana, ni tan viejo que no
> pueda vivir un día más.
>
> – La Celestina (Fernando de Rojas, 1499)
Received on 2008-04-11 14:44:19 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.