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

Re: What happens after hook "post-commit"

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-06-05 18:09:15 CEST

Michael Schmitt <schmitt@TI.Uni-Trier.DE> writes:

> Ben Collins-Sussman wrote:
> >The commit finishes in the repository, creating revision XXX. Then,
> >if a post-commit hook exists, the program is fork()ed and passed the
> >newly created revision number.
> >
> >The new 1-2 second delay you're seeing is probably the time it takes
> >to fork() a child process and wait for the child process to die. If
> >you don't want the parent process to wait for everything in your hook
> >script to return, try backgrounding (&) the commands in the script.
> >
> Actually, the delay can be up to 5 seconds in some cases! Too much for
> a simple fork command check. Moreover, these 5 seconds are counted
> from the last command of the post-commit hook.

So if you completely remove the post-commit hook, do you still see the

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 5 18:14:23 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.