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

Re: post-commit question/issue

From: Binod <binod3_at_gmail.com>
Date: 2007-05-02 14:04:45 CEST

Hi I have been following this post commit link to find out the proper
solution to send emails to the developers every time they commit.
But I could not understand anything in these threads.Thats why I am asking
all of you guys one more time.

What I have?
I have a project whose path is /home/svn/repos/Ram
Therefore, path to hook script is obviously
I copied post-commit.tmpl to post-commit.sh inside the hooks directory.

What I want?
I want the post-commit.sh script to kickoff anytime a developer commits to
the trunk ( or main line of development) and send emails to all the
developers who are related to the particular project

What I have done ?
I copied post-commit.tmpl to post-commit.sh

In the repos I gave REPOS=/home/svn/repos
 For REV="$2" (I am not actually sure what to give here)
And I am not exactly sure what am I supposed to do on the last line provided
in the script...Can anyone walk me through with the clear description. I am
not good at scripting at all. So, this the first time I am starting to work
on scripts.

Thanks in advance. Hope to get a clear picture of this.


Received on Wed May 2 14:05:08 2007

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.