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

Re: data written to stderr in pre-commit hook is not output by the client

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2006-03-02 11:49:45 CET

On 2006-03-02 08:35:01 +0100, Peter Lundblad wrote:
> This is an error in the book. Hook script error output is only
> marshalled if the scripts returns a non-zero value.

OK. So, is there any reason not to marshal stderr even when the
script returns with a zero exit status?

Alternatively, stdout could also be marshalled to the client, with
the difference that it would always be output. If I understand
correctly, it is currently not used (otherwise a new file descriptor
could be opened for that). I think it would really be nice to be
able to send information messages to the client, in particular in
the absence of client-side hook scripts.

Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 2 11:50:58 2006

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