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. br...@wandisco.com

Reply via email to