On 30 Pa¼, 20:28, Stefan Küng <tortoise..._at_gmail.com> wrote:
> decybel brzeszczot wrote:
> > 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:)
> As the docs clearly state, the hook script MUST return a value to
> indicate error or success. And an error message must be written to stderr.
> An empty bat file or some random exe won't do.
> If you want to use an example bat file, use one with the following line
> in it:
> exit 0
> exit 1
> You can find example script in our contrib folder.
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
> < 1KViewDownload
oh so I see that nobody check on real but only talking and
Script not even start so how can it know returned value ( what for is
option "wait for the script to finish" ? when this option is not
checked tortoise don't know reurned value ).
My last test was as you wrote and like is in contrib dir:
as you see always return 0 that mean true
-in tortoise settings:
and checked "wait for the script to finish"
-Now I add something.txt file to project.
-commit - ( work fine, commit done)
-commit ( Error: The hook script returned an error:)
what I am doing wrong ? I think it is a bug. My version TortoiseSVN
1.5.5, Build 14361 - 32 Bit , 2008/10/24 18:06:34
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 22:15:18 CET