RE: Re: Post-commit script !!
From: Maurer, Hermann <Hermann.Maurer_at_gft.com>
Date: Fri, 12 Sep 2008 10:20:09 +0200
Ty to execute commit-email.pl without any arguments on the command line. You will see, that you can supply multiple email recipients to the script. Although I prefer to deal with email groups or distribution lists.
Regards,
From: Himanshu Raina [mailto:raina_himanshu_at_yahoo.com]
Thanks Maurer,
Also could you tell me how can I include multiple receipients in the post-commit script. Can i mention multiple receipients separated by comma or multiple receipients separate by space.
regards
--- On Fri, 12/9/08, Maurer, Hermann <Hermann.Maurer_at_gft.com> wrote:
Hermann
From: Himanshu Raina [mailto:raina_himanshu_at_yahoo.com]
Okay it might sound stupid but why is that ? I mean why would giving an
Thanks !!
--- On Fri, 12/9/08, Maurer, Hermann <Hermann.Maurer_at_gft.com> wrote:
The script executes properly when run through command line. The post-commit.sh
#!/bin/sh
REPOS="$1"
/usr/local/svn/ServerAdmins/hooks/commit-email.pl "$REPOS"
/usr/local/svn/ServerAdmins/hooks/commit-email.pl contains the actualt svnlook
regards
--- On Fri, 12/9/08, Ryan Schmidt <subversion-2008c_at_ryandesign.com>
>
> whenever a commit is done. The repository path is
>
> /usr/loca/svn/ServerAdmins with ownership and permissions as given
> below
>
> drwxrwx--- 7 svn apache 4096 Sep 3 2007 /usr/local/svn/
> ServerAdmins/
>
> My apache runs as follows
> root 2663 1 0 Sep03 ? 00:00:00
> bin/httpd -k start
> apache 2664 2663 0 Sep03 ? 00:01:04
> bin/httpd -k start
> apache 2667 2663 0 Sep03
> bin/httpd
>
> What could be wrong ?
Many things.
Is the script executable?
Does the script run properly from the command line?
Are you making sure to use absolute paths to everything (executables,
data files, working copies) in the hook script? You must
because Apache (or svnserve) will execute the hook with an empty
environment (no $PATH).
What is the contents of the hook script?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
________________________________________
________________________________________
|
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.