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

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

From: Viren Panchal <virpan17_at_umd.edu>
Date: Thu, 7 May 2009 13:07:43 -0700 (PDT)

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_at_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_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
>

-- 
View this message in context: http://www.nabble.com/Warning%3A-post-commit-hook-failed-%28exit-code-255%29-with-no-output.-tp18767058p23434141.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2099908
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-07 22:17:40 CEST

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.