[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2006-03-02 19:12:22 CET

On Thu, 2006-03-02 at 11:49 +0100, Vincent Lefevre wrote:
> OK. So, is there any reason not to marshal stderr even when the
> script returns with a zero exit status?

Basically, neither network protocol contains provisions for marshalling
hook script output to the client. When an error occurs, the stderr data
can be stuffed into an error explanation, but if no error occurs, we
don't have a way to get the information back.

Extending either protocol should be relatively easy, but I'm not sure
whether we want the extra complexity. It's one thing to include
server-side hooks; it's another to start building them into an
application framework. (After sending output to the client, the next
feature request will be the ability to request additional input from the
client, and it goes from there.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 2 19:15:42 2006

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

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