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
delay?
---------------------------------------------------------------------
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