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

RE: post-commit setting reply-to properly

From: Giulio Troccoli <giulio.troccoli_at_uk.linedata.com>
Date: Thu, 11 Jun 2009 15:24:56 +0100

>

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

-----Original Message-----

> From: Steve Iribarne (GMail) [mailto:netstv_at_gmail.com]
> Sent: 11 June 2009 15:12
> To: Ryan Schmidt
> Cc: users_at_subversion.tigris.org
> Subject: Re: post-commit setting reply-to properly
>
> Right, I can use the '-r' flag but what I don't know is what
> is the variable that tells me who the user is? Is there a
> parameter that gets passed into post-commit that tells me the
> user? Where is post-commit called from so I can check it out.
>
> And eventually I think I'm going to use svnnotify so I can
> get the color diffs, so the commit-email.pl is just temporary for now.
>
> -stv
>
> On Wed, Jun 10, 2009 at 9:07 PM, Ryan
> Schmidt<subversion-2009b_at_ryandesign.com> wrote:
> >
> > On Jun 10, 2009, at 16:25, Steve Iribarne (GMail) wrote:
> >
> >> Ryan Schmidt wrote:
> >>
> >>> On Jun 10, 2009, at 15:48, Steve Iribarne (GMail) wrote:
> >>>
> >>>> What I want to do is have my post-commit script set the reply-to
> >>>> email address to the person that committed the file.
> >>>
> >>> What script are you using to send the emails from your
> post-commit
> >>> script?
> >>
> >>
> >> Ooops.. Sorry about that. I'm using the generic commit-email.pl
> >> located in the subversion/tools directory.
> >
> > According to its usage message, you would use the "-r" flag
> to set the
> > reply-to email address.
> >
> > You might also consider moving from commit-email.pl to mailer.py.
> > commit-email.pl is deprecated.
> >
> >

The post-commit is in the hooks directory of your repository. Its second parameter is the revision number of the commit. Use 'svnlook author' to get the name of whoever did the commit.

Giulio

P.S. Please don't top-post

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2361302

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-11 16:25:59 CEST

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.