svnsync from post-commit hangs
From: Turaukar Yur <yuraukar_at_hotmail.com>
Date: 2007-09-11 14:28:07 CEST
I am trying to synchronize changes from one repository to another as new revisions are submitted. This is done by using an appropriate post-commit hook in the master repository which calls svnsync.
Everything works fine (the mirror repos has been initialized, the current state was initially sync'ed, permissions are properly set, etc.).
The only thing I noticed is that commits to the master repos started to be slow since the sync hook was established. SVN is running on a linux system (ubuntu 6) and basically uses the following:
exit 0(taken from the submerged svn blog)
Notice the "&" at the end of the line, which I understand is supposed to run svnsync in the background and not have the post-commit hook wait for its completion.
What is wrong with this setup? Any help appreciated.
This is an archived mail posted to the Subversion Users mailing list.