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.

Reply via email to