On Fri, Nov 27, 2009 at 01:53:31PM -0000, Jon Foster wrote: > > But it only works if the synsync processes run on the host where the > > target repository is located (i.e. you have to run synsync pulls from > > a cronjob on the mirror, rather than triggering svnsync pushes from > > a post-commit hook). > > I don't understand this bit. Isn't it enough that all the svnsync > jobs run on the same system? E.g. they could all run on the source > server, triggered by post-commit hooks and by cron. OR they could > all run on the mirror server. But trying to do both (for the same > repository) would cause problems.
Yes, but sleeping (i.e. waiting for locks) in the post-commit hook is not optimal. You could do it in the background, of course. Stefan