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

Re: Are Updates and Checkouts also atomic?

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2005-05-19 21:46:26 CEST

Hi !

Noah Spurrier said the following on 2005-05-19 15:41:
> Another idea would be to have the clients all run
> Subversion servers with copies of the repository.
> So to update the clients we would do an "svn commit" operation;
> then have the client "svn update" from localhost. We can accept
> the risk of assuming that "svn update" from localhost would never fail.
> This process seems a bit convoluted.

SVK would fit that nicely.

> Am I trying to shove a square peg in a round hole?
> Is there a more obvious solution to this problem?

Updates are not atomic, but "svnversion ." will tell you if you have a
mixed revision working copy. Run update until "svnversion ." reports
the same revision as svn update.

Hope that helps !
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 19 21:52:59 2005

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.