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

RE: Re: Client side hooks - failed .bat test

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: 2006-09-05 08:22:26 CEST

>> I have made a first try at using the client side hooks capability of the
>> latest nightly.
>> --- schnipp ---
>> @ECHO OFF
>> ECHO Testing!
>> EXIT /B 1
>> --- schnipp ---
> Unfortunately, you won't see the output of your echo line. The problem
> is that to redirect the stderr output of the scripts, we also have to
> redirect stdout (haven't found a way to just redirect stderr :( ). So
> even if the cmd window stays open, you won't see any output there.

Sorry for being unclear; I was expecting to see the output in the TSVN-error-dialog.
 
My point of view when testing client-hook-scripting for TSVN is that I will expect it to behave as closely as possible to hook-scripting for SVN under windows. I think this is a reasonable goal. What do you think?
 
In the case of SVN it will show stdout- (and stderr-)output in the error-message if a hook fails.
 
Hans-Emil
Received on Tue Sep 5 08:21:53 2006

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.