You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Clemens Hermann <li...@clhe.de> on 2007/06/29 09:14:38 UTC

server-side transactions

Hi all,

is there a way to use server-side transactions? As a simple example:

svn copy  file:///repo/dir1/file1  file:///repo/dir2/file2
svn copy  file:///repo/dir3/file3  file:///repo/dir4/file4

If I run these commands in sequence I get two new revisions. Each  
command could potentially fail. Is there a way to combine these  
commands to a transaction with a single revision that either executes  
in total or fails completely?
I want to get similar functionality as if I check out to a sandbox, do  
some modifications and then commit these atomic. Ho can I emulate this  
with multiple server-side operations without having a local sandbox?

Thanks in advance for any hint,

clemens

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: server-side transactions

Posted by Erik Huelsmann <eh...@gmail.com>.
On 6/29/07, Clemens Hermann <li...@clhe.de> wrote:
> Hi all,
>
> is there a way to use server-side transactions? As a simple example:
>
> svn copy  file:///repo/dir1/file1  file:///repo/dir2/file2
> svn copy  file:///repo/dir3/file3  file:///repo/dir4/file4
>
> If I run these commands in sequence I get two new revisions. Each
> command could potentially fail. Is there a way to combine these
> commands to a transaction with a single revision that either executes
> in total or fails completely?

Use mucc:
http://svn.collab.net/repos/svn/branches/1.4.x/contrib/client-side/

> I want to get similar functionality as if I check out to a sandbox, do
> some modifications and then commit these atomic. Ho can I emulate this
> with multiple server-side operations without having a local sandbox?
>
> Thanks in advance for any hint,

1.5 will include mucc as svnmucc in the default binary release.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org