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