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

RE: Passsing output of hook-script to client

From: Bax, Arjen <ABax_at_AEGON.NL>
Date: 2005-04-05 09:24:52 CEST

Brandstädter Reinhard writes:

> Is it possible to pass an error message from the pre-commit
> script to the client so that it is displayed in the dialogue? How?

When the pre-commit script fails (i.e., exits with an exit code != 0),
anything printed on STDERR will be passed to the user. Works for me.

HTH,
Arjen Bax

-- 
Violence is the last refuge of the incompetent - Isaac Asimov
Received on Tue Apr 5 09:27:55 2005

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.