You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by Apache Wiki <wi...@apache.org> on 2011/12/15 15:56:17 UTC

[Subversion Wiki] Update of "MultiLayerMoves" by PhilipMartin

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Subversion Wiki" for change notification.

The "MultiLayerMoves" page has been changed by PhilipMartin:
http://wiki.apache.org/subversion/MultiLayerMoves

New page:
The idea is to store moved_to in the presence=base-deleted node, rather than the BASE node.  If/when the node is replaced and becomes presence=normal the moved_to still refers to the node that was base-deleted.

|| op-depth || local_relpath || presence || moved_to ||
||    0     ||    A          || normal   ||          ||
||    0     ||    A/B        || normal   ||          ||
||    0     ||    A/B/C      || normal   ||          ||
||    0     ||    A/B/C/D    || normal   ||          ||

Move A/B/C/D to X

|| op-depth || local_relpath || presence     || moved_to ||
||    0     ||    A          || normal       ||          ||
||    0     ||    A/B        || normal       ||          ||
||    0     ||    A/B/C      || normal       ||          ||
||    0     ||    A/B/C/D    || normal       ||          ||
||    4     ||    A/B/C/D    || base-deleted || X        ||

Move A/B/C to Y

|| op-depth || local_relpath || presence     || moved_to ||
||    0     ||    A          || normal       ||          ||
||    0     ||    A/B        || normal       ||          ||
||    0     ||    A/B/C      || normal       ||          ||
||    0     ||    A/B/C/D    || normal       ||          ||
||    3     ||    A/B/C      || base-deleted || Y        ||
||    3     ||    A/B/C/D    || base-deleted || X        ||

Replace A/B/C with a copy that includes a D

|| op-depth || local_relpath || presence     || moved_to ||
||    0     ||    A          || normal       ||          ||
||    0     ||    A/B        || normal       ||          ||
||    0     ||    A/B/C      || normal       ||          ||
||    0     ||    A/B/C/D    || normal       ||          ||
||    3     ||    A/B/C      || normal       || Y        ||
||    3     ||    A/B/C/D    || normal       || X        ||

Move A/B/C/D to Z

|| op-depth || local_relpath || presence     || moved_to ||
||    0     ||    A          || normal       ||          ||
||    0     ||    A/B        || normal       ||          ||
||    0     ||    A/B/C      || normal       ||          ||
||    0     ||    A/B/C/D    || normal       ||          ||
||    3     ||    A/B/C      || normal       || Y        ||
||    3     ||    A/B/C/D    || normal       || X        ||
||    4     ||    A/B/C/D    || base-deleted || Z        ||