[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 (SOLVED, THANKS!)

From: Steve Iribarne (GMail) <netstv_at_gmail.com>
Date: Thu, 11 Jun 2009 07:46:01 -0700

On Thu, Jun 11, 2009 at 7:29 AM, Steve Iribarne (GMail)<netstv_at_gmail.com> wrote:
>> 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.


Thanks for the info. That's exactly what I was looking for. So for
completeness, here is what I did:
This is a snip from my post-commit script located in the
/path/to/repo/hooks directory

AUTHOR=`${BIN_DIR}svnlook author -r "$REV" "$REPOS" `

Now AUTHOR is set to the person who did the commit.


 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-11 16:54:17 CEST

This is an archived mail posted to the Subversion Users mailing list.