« Return to Thread: Warning: post-commit hook failed (exit code 255) with no output.

Re: Warning: post-commit hook failed (exit code 255) with no output.

by Viren :: Rate this Message:

Reply to Author | View in Thread

Hi everyone involved in this thread..

I have been facing similar problems with the post-commit hook
I am using subversion with apache and I am trying to update a working copy on the server itself (where subversion is installed..its a Red Hat Linux 4 machine) as and when a tortoise client makes a commit to the repository.

I have tried all tricks mentioned in this conversation in order to get the post-commit hook running..
I mean it runs (i checked that using a simple echo "something" >> "somefile" command)
However when the execution comes to the
/usr/bin/svn update --username name --password ****** --non-interactive "path/to/working/copy" 2>> path/to/log/file
command, it just doesnt get executed. I have given 777 permissions to the working copy directory.
However I think that permissions is still whats causing the issue
Even the log file is empty. The update command just doesnt do anything command

Can anything please help me with this. Also please lemme know if you need any more data

Thanks,
Viren

Sebastien Douche wrote:
On Fri, Aug 1, 2008 at 04:13, Xinhao Zheng <xinhaozheng@gmail.com> wrote:
>  I meet those output when make use of post-commit hook to update live site
> working copy.
>  i use apapche + mod_dav.
>  the post-commit script can run with no error when i use env - ./post-commit
> command.
>  and the user the server run on have the full permisstion on the working
> copy.
>  hope someone can help me to figure out.
>  thanks.

try "chmod +x post-commit"

Regards.


--
Seb

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

 « Return to Thread: Warning: post-commit hook failed (exit code 255) with no output.