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

Re: How to make multiple remote cp atomic?

From: Nathan Nobbe <quickshiftin_at_gmail.com>
Date: 2007-09-30 05:21:26 CEST

i think the local copy and commit is the only way to do it.
otherwise the remote api would need a start transaction command to indicate
subsequent commands should be batched after an end transaction command.

-nathan
On 9/29/07, Chen(陈)Jun(军) <chjfth@hotmail.com> wrote:
>
> A remote cp command can copy one dir at one time. To remote copy two
> source dirs to two destinations, I have to issue cp command twice, however
> that two cp commands is not a atomic operation, that is, it results in two
> version numbers. Does any one know how I make them atomic? Maybe there is
> one way: do the two copy operations locally first, then do a commit, but
> that will be too troublesome. Any idea?
>
> Chen Jun
> ------------------------------
> 不登录就能管理多个邮件帐户,试试 Windows Live Mail。 立即尝试! <http://get.live.com/wl/all>
>
Received on Sun Sep 30 05:21:47 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.