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

Re: svn commit: rev 1784 - trunk trunk/subversion/include trunk/subversion/libsvn_wc trunk/subversion/libsvn_subr

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-04-26 21:00:30 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.