When committing update the move-origin location of nodes where the move
source is affected by the commit.

This makes sure that after
svn mv A A2
svn mv A2/B B
svn commit --depth empty A A2

B is still a copy of A2/B, instead of a copy of the old A before the commit.

* subversion/libsvn_wc/wc-queries.sql
  (STMT_SELECT_MOVED_DESCENDANTS): New query.
  (STMT_COMMIT_UPDATE_ORIGIN): New query.

* subversion/libsvn_wc/wc_db.c
  (moved_descendant_commit): New function.
  (descendant_commit): Update comment.
  (commit_node): Update comments. Call moved_descendant_commit.

* subversion/tests/libsvn_wc/op-depth-test.c
  (nested_move_commit): Update comment.
  (test_funcs): Expect nested_move_commit to pass.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1443984 13f79535-47bb-0310-9956-ffa450edef68