Mark wrote:
> Is your post-commit script executable by the user making the commit in
> subversion? Does your post-commit script have fully qualified paths
> in it? What is the exact contents of your post-commit script?
>
> On 11/13/06, Jon Trauntvein <j.trauntvein@comcast.net> wrote:
>
>> I am maintaining a subversion server on a Fedora core 4 machine
>> (subversion 1.2.3) and use access the server using the svnserve --inet
>> protocol. I have been attempting in vain to make make the post-commit
>> hook invoke the commit-email.pl program that I found in
>> /usr/share/doc/subversion-1.2.3/tools/hook-scripts but see no results
>> when commits are made. I can however make the script work if invoked
>> by hand as in the following:
>>
>> env - ./post-commit /home/group/svn 936
>>
>> In this case, the expected email appears. Does anyone have any clue
>> what I am doing wrong?
>
I am not sure what you mean by asking if the post-commit script is
making the commit in subversion. It seems to me that a script entitled
"post-commit" will be invoked after the commit operation has been completed.
My post-commit script is nothing more or less than the post-commit.tmpl
file copied and edited to change the email address and to remove the
python script at the end (I could not find the python script). I copied
commit-email.pl and am invoking it within post-commit as
"./commit-email.pl". I would further point out that, if this were a
paths issue, invoking post-commit under env - would expose this issue.
That's why the FAQ suggests as much.
Regards,
Jon Trauntvein
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 13 17:02:30 2006