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

Re: SVN transactions

From: Gregory (Grisha) Trubetskoy <grisha_at_apache.org>
Date: 2006-06-15 03:41:49 CEST

On Wed, 14 Jun 2006, Greg Hudson wrote:

> On Wed, 2006-06-14 at 12:03 -0400, Gregory (Grisha) Trubetskoy wrote:
>> There is no such thing as a failed transaction as far as conflicts go -
>> transaction commit may not complete only for lower level reason, e.g. IP
>> connection lost.
>
> As best I understand this, you are incorrect. Transactions can fail due
> to conflicts.

Could you elaborate on this? My observation is based on looking at the
WebDAV conversation - when a transation is commited, a multi-response is
sent back listing in XML which file succeed and which didn't. But it goes
through either way, i.e. there is no option that says "abort if there is
conflict" in the API either.

Or am I underestimating SVN here? Can I actually rollback a transaction?

Grisha

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 15 03:42:31 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.