[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Bug: Hook script output not captured (Regression?)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-08 10:44:22 CEST

Laszlo Kishalmi wrote:
> We are using TortoiseSVN 1.2.4 and it seems the output of the hook
> script is not captured. (If I remember it was fixed for 1.2.2)
> The hook output would be the following (From the apache log):
>
> An error occurred while committing the transaction. [409, #165001]
> [Thu Oct 06 17:11:05 2005] [error] [client 10.0.11.144] 'pre-commit'
> hook failed with error output:\nLog message should be at last 3 word
> long. [409, #165001]

Can't reproduce this. My test hooks return the error message just fine,
and TSVN shows them to you.

I suggest you check your hook scripts: you *must* write the error
message to stderr, not stdout.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Oct 8 10:44:51 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.