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

Re: Ev2 as a move-aware editor

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 26 Jun 2013 10:33:30 +0100

Daniel Shahaf <danielsh_at_elego.de> writes:

> Philip Martin wrote on Wed, Jun 26, 2013 at 09:30:42 +0100:
>> Greg Stein <gstein_at_gmail.com> writes:
>>
>> > You're affecting six nodes, so I think you should be able to pack this
>> > down into touching 6 nodes once each. I believe this will work:
>> >
>> > move(A/B, X/Y/Z/B)
>> > rotate(A, X/Y/Z)
>> > move(X/Y, A/B/C/Y)
>> > rotate(X, A/B/C)
>>
>> Yes, I think that works.
>>
>
> This effectively uses temporary nodes (X/Y/Z/B and A/B/C/Y). I thought
> one of the goals of Ev2 design was to not need such nodes.

They are a special sort of temporary node. They are not temporary nodes
where the name is arbitrary, such as:

  A -> <tmp>
  <tmp> -> B

rather they are the non-temporary final name in a parent that is not in
it's final location:

  A/B -> X/Y/Z/B
  Z -> A

-- 
Philip Martin | Subversion Committer
WANdisco | Non-Stop Data
www.wandisco.com
Received on 2013-06-26 11:34:05 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.