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

Re: hook script error messages

From: Jostein Chr. Andersen <jostein_at_josander.net>
Date: 2004-06-04 10:15:19 CEST

On Wednesday 02 June 2004 23.27, Neil Gower wrote:
> Is there a way to set the error message that comes back to the client
> when a (pre-commit) hook script fails?
>
> I'm testing with TortoiseSVN, and when the template pre-commit script
> fails, the client gets a message like:
>
> Commit failed (details follow):
> MERGE request failed on '/some/repos/path/'
>
> 'pre-commit' hook failed with error output:
>
> Looks like there's no output from the script... how could I generate
> something useful for the user?

MyTriggeredProg > out.txt 2> err.txt

Then the output and errors should be separated

Jostein

-- 
http://www.josander.net/en/contact/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 4 10:16:50 2004

This is an archived mail posted to the Subversion Users mailing list.

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