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

Re: Pre-commit and post-chekout hooks on client side

From: Lee Merrill <LeeMerrill_at_bustech.com>
Date: 2004-09-08 15:38:18 CEST

Hi Gustavo,
    You could put a versioned script in SVN, and have your client
scripts do an "svn cat" to pull the latest version, and execute that. If
you wanted to keep users from bypassing the script, there might be a way
(say, using the svn api and writing your script in Python/Perl/etc.) to
have the script put some special indicator in there, and insist on
seeing that in a server-side pre-commit hook script. But I'm out of my
depth, there...


>Yes, i can do that as a workaround, but what would be great is to subversion
>to have versioned on the repository in repository_root/SVNROOT or something
>(like cvs) the hooks, instead of like they are now, only accessible on the

+ Lee Merrill    lee@bustech.com    919-866-2008
Unless otherwise stated, any views presented in this email are solely those of the author and do not necessarily represent those of the company.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 8 15:39:08 2004

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