Mark Benedetto King <bking@answerfriend.com> writes:
> What if, instead of hardcoding the mapping between "svn:executable"
> and the functionality "chmod +x", why not generalize, and let the
> user configure event-handlers for properties? For lack of syntax:
>
> <action property="svn:executable" event="update">
> chmod +x %
> </action>
>
> This pushes all platform dependency onto the end-user, and
> is a powerful interface to boot.
I think it's a very creative idea, but it means that the effect of
setting a property is not predictable. User A sets the property, users
B, C, and D all decide what it means for them -- and each one might do
something different.
If we were to implement this, it should be an *override* to a built-in
default behavior, and that default behavior is the one we're
discussing now. Scriptable overrides are a project for later,
probably post-1.0. Once we go down that route, we can't really stop
until we have a full, Turing-complete extension language. That's a
fine ambition, but let's get a stable 1.0 out the door first. :-)
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 26 20:58:51 2002