Re: post-commit question/issue
From: Binod <binod3_at_gmail.com>
Date: 2007-05-02 22:40:55 CEST
Hey guys thanks for your help. I am still not done yet. These are the steps
I created a file called mailer.conf in /home/svn/repos/hooks/scripts/
I also have my mailer.py in the same folder i.e/home/svn/repos/hooks/scripts
But my post-commit file is on the /home/svn/repos/hooks
Does it matter where the files are located?
The other thing that I did was I gave the python path as Jeff mentioned in
/usr/bin/python $REPOS/hooks/scripts/mailer.py commit "$REPOS" "$REV"
$REPOS/hooks/scripts/mailer.conf
I did *which python* in the command line and yea in my OS and the path for
Now after then I went to mailer.conf file in the
<<<The default To: addresses for message. One or more addresses,
# separated by whitespace (no commas).
# NOTE: If you want to use a different character for separating the
# addresses put it in front of the addresses included in square
# brackets '[ ]'.
*to_addr =binod3@gmail.com*
# If this is set, then a Reply-To: will be inserted into the message.
reply_to =
# Specify which types of repository changes mailer.py will create
# diffs for. Valid options are any combination of
# 'add copy modify delete', or 'none' to never create diffs.
# If the generate_diffs option is empty, the selection is controlled>>>>
[This is just a portion from mailer.conf script to show where I added the
Ok, now I went through both the mailer.py and mailer.conf file to see if I
My question?
Is this all? Do I not have to execute the file post-commit manually, how is
*And I am very thankful to you guys for all the help. Really appreciated.*
Thanks,
Binod
|
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.