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

Re: Subversion Questions

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-07-25 17:11:15 CEST

On Jul 25, 2006, at 16:19, Andy Levy wrote:

> On 7/25/06, Ron Olson wrote:
>
>> I'm using subversion and TortoiseSVN as well. The feature I
>> believe you're looking for is hook scripts. These are scripts that
>> are executed before and after certain svn functions like checkin,
>> checkout, pre and post commit, etc.
>
> There presently is no checkout hook (that I've seen referenced), so
> that event can't be scripted. After creating a repository, there
> are placeholder scripts in the hooks directory, one for each
> "hookable" event, named for each event.

With Subversion 1.3.0 and above, and when served using the Apache
mod_dav_svn module, it is possible to fake a post-checkout-or-export
and a post-update hook. Have a look at this script I created for this
purpose:

http://www.ryandesign.com/svnhookdispatcher/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 25 17:12:58 2006

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