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

RE: What would I use local hooks for?

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Fri, 1 Jun 2012 14:06:23 -0400

> I just realized that TSVN supports local hooks.
>
> Can someone explain what they can be useful for?

What's that famous line, "I can't think of a need for local hooks, but I'll know it when I see it."

I think these are more for personal use, than group. There is no way to enforce that your whole team use TSVN (well, ok). But, maybe you have a personal use. Perhaps after an update you want to delete the build artifacts so your next compile is a full build. Or, you want to copy out certain files to some reference directory each time you do a commit, etc.

>
> I already use server-side hooks to enforce entering log message for commits
> and prevent certain files from being checked in; also use post-commit hooks
> to send emails on commits.
>
> We also use AnkhSVN and my understanding is that it has no support for local
> hooks, is that correct?

Right, TSVN hooks are only going to work when you use TSVN commands.

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2968294

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-06-02 03:13:48 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.