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

Re: svn commit - (no author)

From: Dominic Anello <danello_at_danky.com>
Date: 2004-10-13 23:02:09 CEST

On 2004-10-13 13:39:30 -0700, v4r4n wrote:
> So the body of my script is back to:
>
> REPOS="$1"
> REV="$2"
> USER="$3"
> PROPNAME="$4"
>
> if [ "$PROPNAME" = "svn:log" ]; then exit 0; fi
> echo "Failing due to wrong property"
> exit 1
>
>
> -but I still only get:
>
> $ svn propset -r 9 --revprop svn:author "author"
> svn: 'pre-revprop-change' hook failed with error output:
>
> $
>
> "Failing due to wrong property" is not displayed since the script
> probably isn't being executed at all for some reason.

If you want to see error output, you have to write it to STDERR, like
this:
echo "Failing due to wrong property" 2>&1

  • application/pgp-signature attachment: stored
Received on Wed Oct 13 23:01:19 2004

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.