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
/home/svn/repos/hooks/post-commit.
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.
Thanks
>
Received on Wed May 2 14:05:08 2007