[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: Branko Čibej <brane_at_wandisco.com>
Date: Tue, 25 Jun 2013 21:13:03 +0200

On 25.06.2013 13:42, Philip Martin wrote:
> What about rotates that overlap. Consider a repository:
>
> svnadmin create repo
> svn mkdir -mm --parents file://`pwd`/repo/A/B/C ^/X/Y/Z
>
> Rotate /A and /X/Y/Z and /X and /A/B/C:
>
> svn mv wc/A wc/A2
> svn mv wc/X wc/X2
> svn mv wc/A2/B/C wc/X
> svn mv wc/X2/Y/Z wc/A
> svn mv wc/A2/B wc/A/B
> svn mv wc/X2/Y wc/X/Y
> svn mv wc/A2 wc/X/Y/Z
> svn mv wc/X2 wc/A/B/C

What you're describing is not a simple rotation, since you're
restructuring the tree quite a bit more than that. In any case there
should certainly be no copy operations in the editor drive.

    $ svn st wc
    R + wc/A
> swapped places with wc/X/Y/Z
    A + wc/A/B
> moved from wc/X/Y/Z/B
    R + wc/A/B/C
> swapped places with wc/X
    D + wc/A/B/C/Y
> moved to wc/X/Y
    D + wc/A/B/C/Y/Z
    R + wc/X
> swapped places with wc/A/B/C
    A + wc/X/Y
> moved from wc/A/B/C/Y
    R + wc/X/Y/Z
> swapped places with wc/A
    D + wc/X/Y/Z/B
> moved to wc/A/B
    D + wc/X/Y/Z/B/C

Hm .... it would appear that EV2 rotate needs the concept of virtual
temporary nodes in order to represent something like the above.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2013-06-25 21:22:36 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.