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

Re: setup commit-email.pl

From: Jochen Wendebaum <jochenSPAM_at_wendebaum.de>
Date: 2005-02-24 10:36:48 CET

Hi,

> Is there some instructions somewhere on how setup and use
> commit-email.pl?

There are some examples on the net, but I didn't find them really useful...

Here is what I have done:

I have a project called "ProjectName", and all commits to this project
shall fire an email to the both developers of the project, user1 and
user2. The following line in the post-commit hook script does the job:

/usr/bin/perl $REPOS/hooks/commit-email.pl "$REPOS" "$REV" -m
"ProjectName.*" --from subversion@myhost.com user1@myhost.com
user2@myhost.com

Common errors:

- the -m regex must be put before any other command line argument
- you must specify the correct location for the perl interpreter
- you must put the full path to the commit-email.pl-script
- I had to specify a from-adress as our firewall didn't accept the default
from-adress (that was hard to figure out)...

Good luck!

Jochen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 24 11:36:48 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.