On the multi-layer-moves branch, retain move information during replace.
On the multi-layer-moves branch, retain move information during replace.

Before this change, replacing a moved-away node with a copy deleted the
moved-to relpath of the node from the DB row. So given a node such as
 2|A/B/C/D|base-deleted|X|
the result of replacing A/B with a copy that includes a C/D was this:
  2|A/B/C/D|normal||

With this change, the moved-to relpath is retained:
  2|A/B/C/D|normal|X|

See http://wiki.apache.org/subversion/MultiLayerMoves for details.

Note that, after the replacement, 'svn status' still doesn't show A/B/C/D
as having moved to X. This is probably because status only shows move
information for op-roots. This might need to be revisited... *grumble*
Though maybe this is fine as is?

* subversion/libsvn_wc/wc_db.c
  (insert_incomplete_children): Preserve the moved-to path while replacing
    working nodes. While here, introduce an iterpool.


git-svn-id: 431bda003dbfb1e8904f1a1119768f7246d9e1a8@1299817 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion