Re: post-commit question/issue
From: Andrew R Feller <afelle1_at_lsu.edu>
Date: 2007-05-02 15:05:24 CEST
Hello Binod,
What you have
* Repository whose path is /home/svn/repos
* Path to hook script is obviously
*
What you want post-commit.sh to do
* Kickoff anytime a developer commits to the trunk ( or main
* Send emails to all the developers who are related to the
What you've done
* Copied post-commit.tmpl to post-commit.sh (If
* Gave REPOS=/home/svn/repos
Suggestion(s)
* Have post-commit hook call an executable to send the emails
* Rename post-commit.sh to post-commit; Subversion is looking
* Make sure it is executable; chmod 755
* Change REPOS=/home/svn/repos back to REPOS="$1"
* Leave 'REV="$2"' alone; this is the revision # of the commit
* At the end of your file, put a line like the following to call
* Mailer.py is a Subversion contribution that you can download
* Make sure Mailer.py is executable
Hope this helps,
A-
Andrew R Feller, Analyst
University Information Systems
Louisiana State University
afelle1@lsu.edu
(office) 225.578.3737
|
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.