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

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

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-10 09:51:54 CEST

On 10/10/05, Laszlo Kishalmi <Laszlo_Kishalmi@epam.com> wrote:
> Stefan Küng wrote:
> > 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
> >
> We are using the following python script which writes to stderr:
[snip]

Also check this:
http://subversion.tigris.org/issues/show_bug.cgi?id=443

I think that's the reason why the error output isn't captured. It's
fixed in Subversion now, but you'll have to wait for the 1.4 release
as it seems :(

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 Mon Oct 10 09:52:14 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.