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

Re: Fwd: Re: mv != (cp && rm)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-11-28 03:44:06 CET

"Florin Iucha" <florin@iucha.net> writes:

> But "cp && rm" and "mv" are not equivalent because "mv" is atomic, while
> "cp && rm" is not. What if my host commits the cp and then the network blows
> up? You end up with two objects.

Not possible with subversion; the overall commit is atomic. If the
network blows up after the cp, then the commit never goes through at
all.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.