[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: decybel brzeszczot <d.grzeszczak_at_gmail.com>
Date: Thu, 30 Oct 2008 12:01:44 -0700 (PDT)

On 30 Paź, 19:46, "Andy Levy" <andy.l..._at_gmail.com> wrote:
> On Thu, Oct 30, 2008 at 14:38, decybel brzeszczot
>
> <d.grzeszc..._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-unsubscr..._at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-h..._at_tortoisesvn.tigris.org

Hi

Why are you thinking that I want to do hook on server side ? I didn't
what this solusion. I want use a hook possibility that is in
tortoiseSVN settings. The script doesn' metter for example empty .bat
file that do nothing.

- add hook in tortoiseSVN setting ( emty bat file for a script )
- add file to repository
- commit ( everything is fine , batch was running )
- remove added file
- commit ( Error: The hook script returned an error: )

---------------------------------------------------------------------
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 20:02:19 CET

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