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

Re: "svn update" does not work with SVNParentPath in location and 1.7-client (HTTPv2)

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 16 Nov 2011 15:31:09 +0100

On Wed, Nov 16, 2011 at 02:43:17PM +0400, Sergey Skvortsov wrote:
> Configuration for Apache:
>
> <Location /svn>
> DAV svn
> SVNParentPath /usr/home/svn
> SVNListParentPath on
> </Location>
>
> <Location /svn/foo>
> DAV svn
> SVNParentPath /usr/home/svn/foo
> SVNListParentPath on
> </Location>

> [Wed Nov 16 10:32:58 2011] [error] [client 10.10.10.10]
> (20014)Internal error: Can't open file
> '/usr/home/svn/foo/foo/format': No such file or directory

You are nesting locations. This isn't a valid configuration because it
leads to ambiguity when splitting a URL into the part which is outside
of the repository and the part which is inside the repository.

You need something like this instead:

 <Location /svn/bar>
 ...
 </Location>
 
 <Location /svn/foo>
 ...
 </Location>
Received on 2011-11-16 15:31:46 CET

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.