[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: Michael Schmitt <schmitt_at_TI.Uni-Trier.DE>
Date: 2003-06-05 18:02:06 CEST

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.

Michael

---------------------------------------------------------------------
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:10: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.