[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: Peter Lundblad <peter_at_famlundblad.se>
Date: 2006-03-02 08:35:01 CET

Vincent Lefevre writes:
> I've found the following bug in svn 1.2.3 (I don't know if it has been
> fixed in 1.3.0, but I've seen nothing about that in the release notes).
> I've reported it as Debian bug 354877.
>
> In a pre-commit hook, I have a line
>
> echo "some message" >&2
>
> as an information message to make sure that some format checking is
> done. The Subversion manual says:
>
> If the hook program writes data to stderr, it will be marshalled
> back to the client.
>

This is an error in the book. Hook script error output is only
marshalled if the scripts returns a non-zero value.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 2 08:35:27 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.