Raise move-edit tree-conflicts for updates anchored inside a move.
don't allow move-updating for mixed-revision or subtree-switched
source.

* subversion/libsvn_wc/wc_db.h
  (svn_wc__db_base_moved_to): Add moved away root parameter.

* subversion/libsvn_wc/wc_db_private.h
  (svn_wc__db_op_depth_moved_to): Add moved away root parameter.

* subversion/libsvn_wc/wc_db.c
  (svn_wc__db_op_depth_moved_to, svn_wc__db_base_moved_to): Add moved
   away root parameter.

* subversion/libsvn_wc/update_editor.c
  (complete_conflict): Change parameter to an edit baton.
  (mark_directory_edited, mark_file_edited, delete_entry,
   add_directory, close_directory, add_file, change_file_prop,
   close_file, check_tree_conflict): Adjust call.
  (check_tree_conflict): Add forward declaration.
  (open_root): Raise move-edit tree conflict.

* subversion/libsvn_wc/wc_db_update_move.c
  (check_tree_conflict, resolve_break_moved_away): Adjust call.
  (suitable_for_move): New.
  (update_moved_away_conflict_victim): Check for suitable source.

* subversion/libsvn_wc/wc-queries.sql
  (STMT_SELECT_REPOS_PATH_REVISION): New.

* subversion/tests/libsvn_wc/op-depth-test.c
  (update_within_move): New.
  (test_funcs): Add new test.


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