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

Re: Subversion hooks

From: Kristis Makris <mkgnu_at_gmx.net>
Date: 2004-07-26 07:36:58 CEST

> Use stderr. In shell scripts, you can do this like:
>
> echo "stdout redirected to stderr" 2>&1

It does not work for me in the pre-commit script of svn 1.0.0. I still
don't get anything on the console. Using this pre-commit script:

#!/bin/sh
echo "stdout redirected to stderr" 2>&1
exit 0;

I only see:

$ svn commit
Sending a
Transmitting file data .
Committed revision 8.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 26 07:37:08 2004

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.