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

Re: Weird commit-email.pl issues

From: Jochen Wendebaum <jochenSPAM_at_wendebaum.de>
Date: 2005-03-01 15:49:12 CET

Hello Kevin,

On Tue, 01 Mar 2005 15:34:17 +0100, Kevin Old <kevinold@gmail.com> wrote:

>> perl /svnrep/testproj/hooks/commit-email.pl /svnrep/testproj 14 --from
>> kold@kold.homelinux.com kevinold@gmail.com
>> What happens?
> Well, I ran your statement above and the email went through
> immediately. I looked in my post-commit and I had -m "testproj.*"
> before the from email. Tried that on the command line and the script
> "completed", but no email was sent.
> I took it out of my post-commit and everything works upon commits.

Your repository sits in /svnrep/testproj and is called 'testproj'. The -m
switch looks _inside_ the repository for the regex. So, an email would
only be sent if you had a folder "testproj" in the repository and would
commit to this directory.


Repository in /svnrep/repos

Structure of the repos:

  |-- project1
  |-- project2

To get any commit emailed, you run
.../perl .../commit-email.pl "$REPOS" "$REV" whatever@gmail.com

To get only commits to project2, you write
.../perl .../commit-email.pl "$REPOS" "$REV" -m "project2.*"

The example in the previous post from me (from the 24th of Feb) was for a
setup with several repositories.


Jochen Wendebaum

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 1 15:51:26 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.