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

RE: Re: Atomic operations

From: Anthony Muller <Anthony.Mueller_at_hyperoffice.fr>
Date: 2005-05-10 12:13:40 CEST

Ok, these are nice details! :o)

-----Message d'origine-----
De : John Szakmeister [mailto:john@szakmeister.net]
Envoyé : mardi 10 mai 2005 12:01
À : users@subversion.tigris.org
Objet : Re: Atomic operations

On Tuesday 10 May 2005 05:59, Vincent Lefevre wrote:
> On 2005-05-10 05:43:27 -0400, John Szakmeister wrote:
> > Not true. An update can fail midstream. Just hit Ctrl+c in the
> > middle of an update, and find out. However, updates on files won't
> > be applied unless the entire update *for that file* is present. So
> > you don't have to worry about things like 2 of 3 lines being
> > inserted, or something bizarre like that.
>
> The underlying file system / OS doesn't allow complex atomic
> operations, so you may still get something bizarre, at least
> if you do a "kill -9" (under Unix), which is not trappable.

Right. I was working on the assumption that he was talking about a
failure as a result of network interaction or something else reasonably
detected by Subversion's error framework, not someone maliciously killing
a process. :-) In the latter case, you're right, 'svn cleanup' and 'svn
up' will do the trick.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 10 12:17:05 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.