WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: What would I use local hooks for?

RE: What would I use local hooks for?

by Bob Archer :: Rate this Message:

| View in Thread

> 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@...].

 « Return to Thread: What would I use local hooks for?