On Nov 6, 2010, at 19:37, Edward Ned Harvey wrote:

> On the master, I have the svnsync command in the post-commit hook.  I have 
> tried with, or without the “&” at the end of the line.  When a svn client 
> does a commit … the svn client doesn’t return from the commit until the sync 
> has completed too.  I would like the “svn commit” to complete as soon as the 
> commit is completed, and let the server complete the svnsync in the 
> background, without the client waiting.
> 
>  
> 
> Any ideas what I’m doing wrong?  Here is my post-commit hook:
> 
>  
> 
> #!/bin/sh
> 
> /usr/local/subversion-1.6.12/bin/svnsync sync --non-interactive 
> --sync-username someuser --sync-password somepass svn://slave/targetrepo &

You would need to redirect stdout and stderr someplace, for example to a log 
file or to /dev/null.


Reply via email to