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

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

From: Sergey Skvortsov <skv_at_protey.ru>
Date: Wed, 16 Nov 2011 18:37:39 +0400

s/"svn update"/"svn commit"/

On 16.11.2011 18:31, Stefan Sperling wrote:
> 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.

Why this configuration is not valid?
It worked in 1.6 servers. It seems like regression.

> You need something like this instead:
>
> <Location /svn/bar>
> ...
> </Location>
>
> <Location /svn/foo>
> ...
> </Location>

I want to avoid use SVNPath for every leaf repo in the root.
SVNParentPath is intended for such purpose.

Also I want to use SVNListParentPath to autogenerate normal listing.
It's impossible with multiple SVNPath.

Please note that problem is only with "commit". Other commands work
just fine.

So I suppose it is bug.

-- 
Sergey Skvortsov
mailto: skv_at_protey.ru
Received on 2011-11-16 15:38:18 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.