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

[TSVN] Re: post-commit actions

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2005-01-20 18:00:56 CET

Santiago Conde wrote:
> I've read the archives (and the manual) but didn't find information
> about using the hooks for performing actions in the different steps,
> in
> particular , I'd like to implement the common use-case of sending a
> mail
> when doing a commit. Can this be done configuring Tortoise in any way?

It's in the subversion book, and in more recent TSVN manuals (albeit
briefly).
http://tortoisesvn.tigris.org/docs/TortoiseSVN_en/ch03s05.html

> By the way, in the subversion documentation is mentioned the
> existence of a folder named 'hooks' which contains a bunch of such
> scripts... I don't find that folder in my installation (a typical
> one), anybody knows where can I
> get them? (I've looked in download zone in subversion.tigris.org with
> no avail)

That folder is in the repository folder (ie. the folder where you
created the repository). When you create a new repo, you automatically
get some prototype hooks. Unfortunately they are *nix scripts, not
Windows batch files, but you'll get the idea. Of course the hook has to
be in a language which the server understands, not the client.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 20 18:17:55 2005

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

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