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

Re: Does commit wait for post-commit hook to execute?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-02-06 22:24:44 CET

On 2/5/07, Bojan Mihelač <bmihelac@mihelac.org> wrote:
> Hello all,
>
> does 'svn commit' waits for post-commit hook to execute or it returns
> immediately?

svn commit "finishes" when the post-commit hook completes finishes
executing. If your post-commit is lengthy and you need quicker
response, have post-commit spawn a new process to actually do that
work, letting post-commit return. Doing this in any hook script means
you'll lose the ability to send feedback to the user regarding that
spawned process.
Received on Tue Feb 6 22:25:03 2007

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.