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

Re: hook on commit problem/bug

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 30 Oct 2008 14:46:44 -0400

On Thu, Oct 30, 2008 at 14:38, decybel brzeszczot
<d.grzeszczak_at_gmail.com> wrote:
> First, sorry for my english.
>
> I have a problem. I want to do hook that will send mail that commit
> was done.
>
> When i add files commit is done and hook is working. It also work when
> I modified some files but when I only delete one file (nothing else
> changed or added ) I have message:
>
> Error: The hook script returned an error:
>
> Hook is on pre-commit but this same is on post-commit

Repository hook scripts run on the server and thus are more
appropriate on the Subversion Users mailing list. If you're asking for
help with figuring out why your hook script is failing, no one can
help you if you don't show the code of the script itself. That would
be like asking your doctor to diagnose abdominal pain without allowing
him to examine you.

There are quite a few email notification hook scripts one can find
with simple Google searches, and even in the Contrib directory of the
Subversion repository itself. Some more configurable than others
(without modifying large amounts of code yourself).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-10-30 19:46:55 CET

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.