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

Re: I cannot get post-commit hook to fire

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-12-11 18:45:52 CET

John Peacock <jpeacock@rowman.com> writes:

> I tried to get the post-commit hook to fire and have come up with a
> big goose egg. The list archive was not helpful.
>
> Here were the steps I took:
>
> 1) copy post-commit.tmpl to post-commit (using the account owning
> the repository)
> 2) chmod ug+x post-commit
> 3) Edited post-commit and added the following lines
> `touch done`
> exec 1>> post-commit.log 2>&1
> 4) Commented out all actions except 'svnadmin deltify'
> 5) Tested the script by running it (as the owner)
>
> When committing either through RA_DAV or RA_LOCAL, the file 'done' is
> not created, nor is anything appended to 'post-commit.log'. Both
> things work from the command line...

Try specifying a full path for "done", like "/tmp/done". See if that
helps.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 11 18:48:22 2003

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.