[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: Sergio Graça <sergiongraca_at_gmail.com>
Date: 2007-08-23 20:21:40 CEST

I am sorry,

I didn't made myself clear enough.

What I am asking is if it is possible to have two different svn commands in
an unique transactional context.

For example, two svn copy commands.

thanks a lot

On 8/23/07, Andy Levy <andy.levy@gmail.com> wrote:
>
> 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.
>
Received on Thu Aug 23 20:19:21 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.