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

Re: Move using initial state

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Sat, 07 Sep 2013 11:08:11 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> Greg Stein <gstein_at_gmail.com> writes:
>
>> move(A/B/C_at_original, A, replace=R)
>
> What does the receiver do? I suppose it could implement the replace and
> move the replaced nodes to some temporary table:
>
> NODES local_relpath revision status repos_path
> A 6 normal A/B/C
>
> and
>
> TEMP A 6 normal A
> A/B 6 normal A/B
> A/B/C 6 not-present A/B/C

Note that we have to save the original nodes in the temporary table even
though we don't yet know that they will be needed. In this case a later
move is going to refer to original A but we don't know that is going to
happen. For this to work all drives have to pre-emptively store all
replaced nodes until the end of the edit.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2013-09-07 12:08:50 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.