You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sri <sp...@rediffmail.com> on 2005/01/11 12:04:34 UTC
need help --- commit-email script
Hi,
Im using commit-email script for sending email for every commit to the repository..
but im getting email with errors.. can any one help me to find out which went wrong...
This is the mail that i got:
subject:
r11 - /path/to/repos/project/hooks/commit-email.pl:
`/usr/subversion1.1.1/bin dirs-changed path/to/repos/project -r 11'
failed with this output: Can't exec "/usr/subversion1.1.1/bin":
Permission denied at /path/to/repos/project/hooks/commit-email.pl
line 571.
Content:
Author: /path/to/repos/project/hooks/commit-email.pl : `/usr/subversion1.1.1/bin info /path/to/repos/project -r 11' failed with this output:
Date: Can't exec "/usr/subversion1.1.1/bin ": Permission denied at /path/to/repos/project/hooks/commit-email.pl line 571.
New Revision: 11
Log:
Modified:
there was .r11.diff file attached
it doesnt show the changes in the code.. but the error as
/path/to/repos/project/hooks/commit-email.pl: `/usr/subversion1.1.1/bin diff /path/to/repos/project -r 11' failed with this output:
Can't exec "/usr/subversion1.1.1/bin": Permission denied at /path/to/repos/project/hooks/commit-email.pl line 571.
/path/to/repos/project/hooks/commit-email.pl: cannot exec `/usr/subversion1.1.1/bin diff /path/to/repos/project -r 11': Permission denied
[/usr/subversion1.1.1/bin - location where subversion is installed ]
Thanks,
Sri
Re: need help --- commit-email script
Posted by John Szakmeister <jo...@szakmeister.net>.
Sri wrote:
>
> Hi,
>
> Im using commit-email script for sending email for every commit to the
> repository..
>
> but im getting email with errors.. can any one help me to find out which
> went wrong...
>
> This is the mail that i got:
>
> subject:
>
> r11 - /path/to/repos/project/hooks/commit-email.pl:
> `/usr/subversion1.1.1/bin dirs-changed path/to/repos/project -r 11'
> failed with this output: Can't exec "/usr/subversion1.1.1/bin":
> Permission denied at /path/to/repos/project/hooks/commit-email.pl
> line 571.
Check the $svnlook variable near the top of the script. In this case it
should read:
$svnlook = "/usr/subversion1.1.1./bin/svnlook"
It looks like your script is currently trying to execute a directory.
-John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org