Re: sync bug -> corrupted proxy repo
From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Thu, 14 Jan 2010 16:04:20 -0600
On Jan 14, 2010, at 09:06, Johan Corveleyn wrote:
>> Is it not the case that a svn commit cannot start before the post-commit hooks has finished? I am asking becuase I will be implementing a DR system using svnsync, but I am not planning to let the post-commit finish before svnsync has finished (I don't care if it takes a bit longer, I can cope with that and with my users).
pre-commit hook, I believe you're right. But Subversion blocks the commit until the post-commit is done. Only one post-commit hook will run at a time. Unless you tell it to allow simultaneous runs, by redirecting the hook's stdout and stderr someplace.
This is an archived mail posted to the Subversion Users mailing list.