[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: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 17 Nov 2011 17:09:27 +0100

On Thu, Nov 17, 2011 at 02:37:36PM +0000, Philip Martin wrote:
> The order of parent and child in Subversion's INHERIT_VALUE macro only
> has an effect when nesting one Subversion location in another. When not
> nested the parent root_dir is NULL and the child value will be used
> whatever the order in INHERIT_VALUE. I can't see how it would ever be
> correct to inherit the parent root_dir value.

I agree that special-casing the root_dir seems unnecessary even in the
mirroring case, provided that nested Locations are supposed to work.

Maybe this was done to guarantee consistent mirroring behaviour when
Locations using SVNPath are nested accidentally? Even then, it seems
bad to silently try to work around the problem instead of signaling
a configuration error to the admin.

> This bug only comes to light because 1.7 uses the root_dir value when
> processing POST requests; 1.6 doesn't use POST requests so the wrong
> value had no effect.

Right. That explains why Sergey's setup stopped working.
Received on 2011-11-17 17:10:06 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.