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

how to get an output from hook scripts

From: Jochen Wendebaum <jochen_at_wendebaum.de>
Date: 2005-01-13 09:27:05 CET

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
Received on Fri Jan 14 18:03:21 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.