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

Re: How to enable the hook scripts located on /path/to/repos/hook

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2005-04-11 08:17:44 CEST

Penghui Wang wrote:
> 1. cp commit_email.pl which provided by subversion document
> to /path/to/repos/hooks.
> 2. chmod +x commit_email.pl
> 3. mv post_commit.tmpl to post_commit and modify it to:
> ./commit_email.pl "$REPOS" "$REV" --from subversion@example.com
> wangpenghui@example.com then chmod +x post_commit.
>
> But if i commit some changes to the repos, nothing happened.
>
> What's wrong with my installation, or missing some configuration?

Try using the full path. "./commit_email.pl" will not work because
there is no environment passed from server to hook.

-- 
Sly
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 11 08:43:16 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.