You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by k bah <kb...@linuxmail.org> on 2009/03/09 21:51:20 UTC
Offtopic? commit-email.pl usage question.
Hi,
I need to have all mails from all projects sent to some address, and mails related to one given project on my repository to be sent just to other e-mail, as I read on some other message on the list I should:
--- post-commit:
/usr/share/subversion/hook-scripts/commit-email.pl "$REPOS" "$REV" -m "trunk/ProjectFoo" --from svn@company.net commit.svn.projectfoo@company.net -m . --from svn@company.net commit.svn@company.net
---
From the example given on the message it should work like this:
- all commits go to commit.svn@company.net
- all commits to ProjectFoo go to commit.svn.projectfoo@company.net
Is this right? I call commit-email.pl just once, with all args?
This commit-email.pl came with Ubuntu 7.10 (subversion-tools 1.4.4dfsg1-1ubuntu3)
I have 1 repository with several projects
thanks!
=
--
Powered by Outblaze
Re: Offtopic? commit-email.pl usage question.
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 9, 2009, at 16:51, k bah wrote:
> I need to have all mails from all projects sent to some address,
> and mails related to one given project on my repository to be sent
> just to other e-mail, as I read on some other message on the list I
> should:
>
> --- post-commit:
> /usr/share/subversion/hook-scripts/commit-email.pl "$REPOS" "$REV" -
> m "trunk/ProjectFoo" --from svn@company.net
> commit.svn.projectfoo@company.net -m . --from svn@company.net
> commit.svn@company.net
> ---
>
> From the example given on the message it should work like this:
>
> - all commits go to commit.svn@company.net
> - all commits to ProjectFoo go to commit.svn.projectfoo@company.net
>
> Is this right? I call commit-email.pl just once, with all args?
>
>
> This commit-email.pl came with Ubuntu 7.10 (subversion-tools
> 1.4.4dfsg1-1ubuntu3)
> I have 1 repository with several projects
I don't know the specific answer to your question right now, but I
wanted to point out that commit-email.pl is deprecated in favor of
mailer.py.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1301300
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].