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

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

From: Penghui Wang <wangpenghui_at_realss.com>
Date: 2005-04-11 08:11:15 CEST

Hi lists:

I am a newbie to subversion. And found that it's a amazing project.
I have set up Subversion + Apache2 mod_dav_svn on a gentoo box.
Everything works smoothly except the hook scripts.

I want to send commit email to a certain email address.
So i have done the follow operations:

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?

Thanks in advance!

Wang Penghui

---------------------------------------------------------------------
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:14:17 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.