I saw this problem when I had wrong paths in my hooks scripts.....just a
thought. Check to see if all the commands in your hook scripts either
have explicit paths or have mistyped commands.
If the above is not the case then I'm not sure what is causing the
problem.
- David Summers
On Tue, 13 Aug 2002, flo.wagner@gmx.de wrote:
> Hi!
> I've successfully set up subversion on my Linux(LFS 3.0 or something like that) machine.
> I can import, commit, update, everything. But the hooks are not working. As soon as I
> have one of the hook files in my repos/hooks directory I get error messages.
>
> "/svn/repos1/hooks/post-commit":
> #!/bin/sh
>
> REPOS="$1"
> REV="$2"
>
> Then I, for example do a "svn del" from my windows machine and it tells my:
>
> svn: A repository hook failed.
> svn: MERGE request failed on /repos
> svn:
> run_post_commit_hook: error running cmd `/svn/repos1/hooks/post-commit'
>
> Apache error_log:
>
> [Tue Aug 13 16:24:04 2002] [error] [client 192.168.1.50] Could not MERGE resource
> "/repos/!svn/act/dc8d1617-7a92-5144-b117-c3b5f5411337" into "/repos". [409, #0]
> [Tue Aug 13 16:24:04 2002] [error] [client 192.168.1.50] An error occurred while
> committing the transaction. [409, #21090]
> [Tue Aug 13 16:24:04 2002] [error] [client 192.168.1.50] (2)No such file or directory:
> run_post_commit_hook: error running cmd `/svn/repos1/hooks/post-commit' [409, #21090]
>
> The file "/svn/repos1/hooks/post-commit" does exist and the delete works(file gets
> deleted from repository). But the hook script doesn't get executed(tried to let the
> script touch /file, file doesn't get created).
>
> What am I doing wrong?
>
> Thanks for your help!
>
--
David Wayne Summers "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 13 16:31:22 2002