subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@apache.org>
Subject Re: Cannot add files due to hierarchical RDC svn:auto-props when matching rules merge properties between text and binary file types
Date Fri, 14 Oct 2016 14:21:33 GMT
On 14.10.2016 09:17, Johan Corveleyn wrote:
> FWIW, I think you have a valid usecase, though it's a bit unusual. Of
> your proposed solutions, I think 1 and 2 are not possible (1 breaks
> backwards compatibility

On the other hand, I'd argue that the behaviour as described is a bug
and that 1 is actually correct: an identical rule (identical glob
pattern) in svn:auto-props property should completely override the rule
from an inherited svn:auto-props property. Anything else leads to
madness, as this thread shows.

I wouldn't worry about backwards-compatibility in this case, for the
simple reason that cases where things brake should be quite rare.
Witness that this is the first bug report on this topic (that I know
of). Furthermore, it's relatively easy to fix any cases that happened to
rely on this buggy behaviour.

I'd even say that the whole property value should override any inherited
ones ... but that would be harder to justify, given current behaviour.

-- Brane


Mime
View raw message