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

Re: Rollback changes on a transactional context

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-23 20:12:57 CEST

On 8/23/07, Sergio Graça <sergiongraca@gmail.com> wrote:
> Hi all,
>
> I would like to know if it is possible to create a transactional context
> over repository operations.
>
> For example, encapsulating two or more commands inside a transactional
> context and in case one of them doesn't work, rollback all the previous
> commands in the transaction.

Maybe I'm missing something, but what you're asking for is one of the
core features of Subversion. Every commit is atomic & transactional -
if the entire commit doesn't succeed, none of the changes are saved in
the repository. You can do multiple adds, deletes, moves, and content
changes in each commit.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 23 20:10:37 2007

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.