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

RE: How do i set up post commit hook script?

From: Uppal, Deepali <deepali_at_ti.com>
Date: 2005-10-24 12:17:22 CEST

On Oct 24, 2005, at 10:57, Ryan Schmidt wrote:

> Can you show us exactly what's in your post-commit script?

post-commit executable contains the following:
----------------------------------------------------------------------
set -xv

REPOS="$1"
REV="$2"

/home/developer/subversion-1.2.0-rc4/tools/hook-scripts/commit-email.pl
"$REPOS" "$REV" <email-id>

exit 2
----------------------------------------------------------------------

The script commit-email.pl has not been changed by me. It is the one
shipped with subversion release-1.2.3.

When I run post-commit from the command line I get the following error
messages:

Use of uninitialized value in -d at commit-email.pl line 224.
sh: -c: line 1: unexpected EOF while looking for matching ``'
sh: -c: line 2: syntax error: unexpected end of file
Broken pipe

Regards,
Deepali

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 24 12:20:37 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.