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

RE: Repos wide settings

From: Bob Archer <bob.archer_at_amsi.com>
Date: Mon, 31 Aug 2009 15:02:15 -0400

> On Aug 31, 2:29 pm, Andy Levy <andy.l..._at_gmail.com> wrote:
> > On Mon, Aug 31, 2009 at 13:51,
> >
> > matthew.tay..._at_us.bosch.com<matthew.tay..._at_us.bosch.com> wrote:
> > > Sorry if this is duplicate...
> >
> > > I would like to add hooks for pre and post commits. How do I do
> this
> > > so that they are repository wide and not just local to each
> developer?
> >
> > Do these need to perform client-side or server-side operations?
> >
> I'm a rookie here so bare with me...
> Actually it may be both. I want a pre-commit to force commit comments
> and post-commit to start a build script, send e-mail notification,
> etc.

Yes, hooks are repository wide. But, you can check to see what path the commit was in and perform different branches.

Personally, I prefer to use a build server, we use cruise control.net, to monitor the repository for commits and check of builds as needed. I think this gives you more control.

It's probably better to discuss issue like this on the svn user list.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-31 21:02:26 CEST

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

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