« 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 Xinhao Zheng :: Rate this Message:

Reply to Author | View in Thread

hi Ryan,

  i am under linux debian, this is my post-commit content:

REPOS="$1"
REV="$2"
/home/svn/wzo/hooks/svn-update.sh

this is content for svn-update.sh
svn update  /home/www/html/wzoprj/project/mylib --username 'george'
--password 'xxxx'

is there any error in the script,it can run from command line,and if i
put one line in the front of the script to test if the script run,it
seems to yes.(date>/var/tmp/a.txt)

George



Ryan Schmidt wrote:

> On Jul 31, 2008, at 21:13, Xinhao Zheng 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.
>
> What does your post-commit hook say?
>
>
>
>


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

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