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

client-side hooks (was: Prevent accidental commits)

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Mon, 16 Jun 2008 13:46:34 +0200

On 2008-06-11 17:00:26 -0500, Ryan Schmidt wrote:
> Right, "svn lock" is not applicable, and there are no client-side hooks.

BTW, since client-side hooks are mentioned from time to time,
shouldn't they be added as a feature request on the issue tracker?

They could solve other problems, such as restoring file permissions
and providing more advanced auto-props (e.g. per repository, based
on file contents instead of filename extension...), without needing
a wrapper script to parse some svn output (and possibly do more work
than necessary).

Note if this isn't clear: for security reasons, client-side hooks are
written by the user of the client (just like the client config file).
And if users want e.g. server-wide auto-props, this can also be done
with a client-side hook that reads some config file provided by the
server (and a server-side hook can also check things if need be).

Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-16 13:47:12 CEST

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.