[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 16:28:11 CEST

Hey Andrew thanks a lot for your help. I really appreciate it. I have some
more dumb questions and I hope you can help me out with this.

* *

*What I did after I got your email*?

I created a folder called scripts in /home/svn/repos/hooks/scripts

Then I created a file called mailer.py in
/home/svn/repos/hooks/scripts/mailer.py and copied mailer.py from the link
that you provided: http://subversion.tigris.org/tools_contrib.html

I made mailer.py executable by using chmod 755 mailer.py

I changed my post-commit.sh file in hooks folder to post-commit and made is
executable by using chmod 755 post-commit

At the end of my post-commit file, I also added as you mentioned
${REPOS}/hooks/scripts/mailer.py commit "${REPOS}" "${REV}"

*What questions do I have now**?*

*What do I do with the following lines in the post-commit file*?

commit-email.pl "$REPOS" "$REV" commit-watchers@example.org

log-commit.py --repository "$REPOS" --revision "$REV"

*Where do I put the users/developers email id?*

Is it on commit-watchers@example.org, if it is there and how do I put
it? Let's
say I need to put Andrew@gmail.com, binod3@gmail.com and so on.

Do I put the email ID's right next to commit-andrew@gmail.com,
binod3@gmail.com or how does this actually works?

*One More question*.After everything goes fine can I just check it to see
whether it work or not as a test email to me by without committing to the
mainline? Is it possible?

I will be waiting for your response.


Received on Wed May 2 16:28:35 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.