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

Re: post-commit hook not working

From: Andreas Adelsberger | [amp] - Adelsberger Media Productions <office_at_a-m-p.at>
Date: 2006-04-12 06:50:48 CEST

I don't think it can be an authentication issue becaue it doesn't make a
difference if I make a commit as root or as a valid svn user(apache does
the authentication for me). the strange thing is that for example a
start-commit hook gets executed.

Ryan Schmidt schrieb:
> On Apr 11, 2006, at 07:21, Andreas Adelsberger | [amp] - Adelsberger
> Media Productions wrote:
>
>> my post-commit hook doesn't get executed!
>>
>> here is my post-commit:
>>
>> /usr/bin/svn export http://svnserver/testrepository
>> /var/www/html/testrepository
>>
>>
>> if I start it manually with
>> ./post-commit
>> everything works fine, but If I do a commit with toroisesvn, I don't
>> get errors but the hook script is not fired.
>
> Perhaps your repository requires authentication? If so, the hook
> wouldn't know as whom to authenticate, and would fail. You can pass a
> username and password to the svn command with the --username and
> --password arguments.
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 12 06:52:21 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.