Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: hook on commit problem/bug

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

Re: hook on commit problem/bug

Author steveking
Full name Stefan Küng
Date 2008-10-31 10:17:05 PDT
Message decybel brzeszczot wrote:

> oh so I see that nobody check on real but only talking and
> talking ;).

Sorry.

> 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:
> - script.js
>
> WScript.Echo("working");
> WScript.Quit(0);
>
> as you see always return 0 that mean true
> -in tortoise settings:
> wscript C:\script.js
> and checked "wait for the script to finish"
> -Now I add something.txt file to project.
> -commit - ( work fine, commit done)
> -delete "something.txt"
> -commit ( Error: The hook script returned an error:)

Fixed in r14460.
For those interested: this only happens if only deletions are committed
(i.e., the paths committed don't exist).

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

« Previous message in topic | 8 of 19 | Next message in topic »

Messages

Show all messages in topic

hook on commit problem/bug decybel brzeszczot <d dot grzeszczak at gmail dot com> decybel brzeszczot <d dot grzeszczak at gmail dot com> 2008-10-30 11:38:21 PDT
     Re: hook on commit problem/bug Andy Levy <andy dot levy at gmail dot com> Andy Levy <andy dot levy at gmail dot com> 2008-10-30 11:46:44 PDT
         Re: hook on commit problem/bug decybel brzeszczot <d dot grzeszczak at gmail dot com> decybel brzeszczot <d dot grzeszczak at gmail dot com> 2008-10-30 12:01:44 PDT
             Re: hook on commit problem/bug Andy Levy <andy dot levy at gmail dot com> Andy Levy <andy dot levy at gmail dot com> 2008-10-30 12:05:08 PDT
                 Re: hook on commit problem/bug decybel brzeszczot <d dot grzeszczak at gmail dot com> decybel brzeszczot <d dot grzeszczak at gmail dot com> 2008-10-30 12:18:17 PDT
                     Re: hook on commit problem/bug steveking Stefan Küng 2008-10-30 12:28:32 PDT
                         Re: hook on commit problem/bug decybel brzeszczot <d dot grzeszczak at gmail dot com> decybel brzeszczot <d dot grzeszczak at gmail dot com> 2008-10-30 14:14:40 PDT
                             Re: hook on commit problem/bug steveking Stefan Küng 2008-10-31 10:17:05 PDT
                                 Re: hook on commit problem/bug decybel brzeszczot <d dot grzeszczak at gmail dot com> decybel brzeszczot <d dot grzeszczak at gmail dot com> 2008-11-03 02:17:44 PST
                                     Re: hook on commit problem/bug steveking Stefan Küng 2008-11-03 02:26:41 PST
                                         Re: hook on commit problem/bug decybel brzeszczot <d dot grzeszczak at gmail dot com> decybel brzeszczot <d dot grzeszczak at gmail dot com> 2008-11-03 02:39:20 PST
                                             Re: hook on commit problem/bug steveking Stefan Küng 2008-11-03 02:50:45 PST
                                                 Re: hook on commit problem/bug decybel brzeszczot <d dot grzeszczak at gmail dot com> decybel brzeszczot <d dot grzeszczak at gmail dot com> 2008-11-03 03:47:34 PST
                                                     Re: hook on commit problem/bug steveking Stefan Küng 2008-11-03 10:15:31 PST
                                                         RE: Re: hook on commit problem/bug postmaster at tigris dot org postmaster at tigris dot org 2009-01-06 04:42:29 PST
                                                             Re: hook on commit problem/bug Kurt Pruenner <leak at gmx dot at> Kurt Pruenner <leak at gmx dot at> 2009-01-06 05:33:11 PST
                                                             Re: hook on commit problem/bug steveking Stefan Küng 2009-01-06 09:43:44 PST
                                                                 RE: Hook on commit problem/bug webpost at tigris dot org webpost at tigris dot org 2009-04-01 18:39:29 PDT
                                                                     Re: Hook on commit problem/bug steveking Stefan Küng 2009-04-02 08:44:50 PDT
Messages per page: