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

Re: Atomic operations

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2005-05-10 11:59:44 CEST

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.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
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:02:24 2005

This is an archived mail posted to the Subversion Users mailing list.