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

howto svnsync ... without waiting

From: Edward Ned Harvey <svn_at_nedharvey.com>
Date: Sat, 6 Nov 2010 20:37:25 -0400

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:



/usr/local/subversion-1.6.12/bin/svnsync sync --non-interactive
--sync-username someuser --sync-password somepass svn://slave/targetrepo &
Received on 2010-11-07 23:24:06 CET

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.