You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jochen Wendebaum <jo...@wendebaum.de> on 2005/01/13 08:27:05 UTC

how to get an output from hook scripts

Hi,

we have set up Subversion unter Suse9.1 and everything is running fine. I  
got the hook scripts running, too, but now I want to have a nice output if  
an error occurs. I understand that I have to redirect the output to  
stderr, but in the example script that checks if a log message was  
entered, I cannot get it to work.

The line looks like this

SVNLOOK=/usr/local/bin/svnlook
$SVNLOOK log -t "$TXN" "$REPOS" | \
    grep "[a-zA-Z0-9]" > /dev/null || exit 1

and I wonder where I put my

   error "message" >&2

Should this better go to a linux list?

Thanks anyhow for answering,

Jochen Wendebaum
jochen@wendebaum.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org