[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: FW: Problem with post-commitscript in SVN

From: Jose Thomas <josoottan_at_gmail.com>
Date: 2006-06-14 05:59:03 CEST

>
> I am facing problems with post-commit hook script in SVN. I have a shell
> script at a location and is readable by apache. The commit-email.pl script
> works just fine, but the shell script is not working. I have added the
> following line to the post-commit hook
>
> /bin/sh <svn_reposiotry/hooks/shellscript.sh>
>
> If I execute the same command from command line it works. But when I place
> the same command with absolute path in post-commit hook script it doesn't.
>
> I am going wrong some where? Or do I have to make some more settings in hook
> script to make my shell script work? Please suggest!
>

Please 've a look at the Hook Scripts section from the Book. Have a
look at the tip.
http://svnbook.red-bean.com/en/1.2/svn.reposadmin.create.html#svn.reposadmin.create.hooks

HTH
Jose

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 14 06:00:32 2006

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.