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

Re: trigger events in svn

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-28 06:07:39 CEST

On Tue, 2004-07-27 at 20:31, Steve Williams wrote:
> They're called pre- and post-commit hooks in Subversion land. They're in
> the repository directory in a directory called hooks.

Yes, Subversion calls them 'hooks', Clearcase calls them 'triggers'.

But the big difference here is that in Clearcase, triggers are executed
by the client. In Subversion, they're executed by the *server*. That's
the reason a Subversion server can send email after a commit, or can run
a script to validate a commit before it happens (and possibly reject

So in your case, you'd write a pre-commit hook script that runs 'lint'
on the server. If lint fails, the server rejects the whole commit.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 28 06:10:19 2004

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.