[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 15:05:08 -0400

2008/10/30 decybel brzeszczot <d.grzeszczak_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.
Received on 2008-10-30 20:05:17 CET

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