[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 31 Oct 2008 18:17:05 +0100

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

Received on 2008-10-31 18:17:23 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.