[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:18:17 -0700 (PDT)

so ok I understand that you don't know solution or I don't understad
you.

Forgot email notification. For example I want open notepad when I
commit project. What for ? I don't know ? I want ;)
-I go to Tortoise setting.
-I add hook on project and in "Command line to excecute" i write
"notepad".
-Now I add something.txt file to project.
-commit - ( work fine, commit done, notepad is on my screen)
-delete "something.txt"
-commit ( Error: The hook script returned an error:)

On 30 Pa¼, 20:05, "Andy Levy" <andy.l..._at_gmail.com> wrote:
> 2008/10/30 decybel brzeszczot <d.grzeszc..._at_gmail.com>:
>
>
>
> > 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.
>
> Such a notification is normally done on the server so that you don't
> have to customize the end-user's settings and the process can be
> tightly controlled. Also, many organizations do not allow SMTP traffic
> directly from desktops, because such activity is frequently a sign of
> malware, not legitimate activity.

---------------------------------------------------------------------
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:19:10 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.