Need help to use commit-email.pl
From: Sridevi Desaiyan <spers_at_rediffmail.com>
Date: 2005-01-10 14:09:20 CET
Hi
Im new to subversion... can anyone help me to rectify the error that iam getting while executing commit-email.pl script...
Iam using commit-email.pl script for sending email in subversion.
do we need to edit anything in commit-email.pl? if so.. could you please let me know which lines should be edited..
My post-commit script consist of
REPOS="$1"
REV="$2"
/apps/svnroot/svn1.1.1-repos/sample/hooks/commit-email.pl "$REPOS" "$REV" spers@rediffmail.com
im getting the following error when i try to execute post-commit script.....
commit-email.pl: revision number `' must be an integer > 0.
usage: /apps/svnroot/svn1.1.1-repos/sample/hooks/commit-email.pl REPOS REVNUM [[-m regex] [options] [email_addr ...]] ..
options are
--from email_address Email address for 'From:' (overrides -h)
-h hostname Hostname to append to author for 'From:'
-l logfile Append mail contents to this log file
-m regex Regular expression to match committed path
-r email_address Email address for 'Reply-To:'
-s subject_prefix Subject line prefix
Thanks,
Sri
|
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.