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

Re: files or dirs in root of repository

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-02-07 02:34:45 CET

Sander <sgr@rotzorg.org> writes:

> In my apache2 configuration i have this (stripped):
>
> <Location /private/cubitest/>
> DAV svn
> SVNPath /big/svn/cubitest/
> </Location>
>
> I now imagine that /private/cubitest/ is the root of the repository.
>
> The manual talks about content that is directly in the root of the
> repository. In my repository i have a directory cubiform/, i can see
> this be pasting the URL http://domain.my/private/cubitest/ in my
> browser: i see a single directory cubiform.
>
> However, I cannot check-out this URL:
> sgr_at_stereo:~/svn$ svn co http://rotzorg.org/private/cubitest/
> Segmentation fault

Interesting... I "borrowed" your server, I hope you don't mind :)

$ svn ls http://rotzorg.org/private/cubitest/
Segmentation fault

There is indeed a path that causes a segfault, this should fix it

Index: subversion/libsvn_ra_dav/props.c
===================================================================
--- subversion/libsvn_ra_dav/props.c (revision 4772)
+++ subversion/libsvn_ra_dav/props.c (working copy)
@@ -405,6 +405,8 @@
           apr_hash_this(hi, NULL, NULL, &ent);
           *rsrc = ent;
         }
+ else
+ *rsrc = NULL;
     }
   else
     {

I don't understand is why I cannot duplicate this on my local server.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 7 02:35:32 2003

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

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