When turning a move into a delete as part of reverting the moved-to tree
properly handle depth instead of simply assuming that the moved-from node
is its own op-root.

* subversion/libsvn_wc/wc_db.c
  (clear_moved_to): Order arguments in standard order. Implement strict depth
    behavior instead of assuming that the interesting node is always
    an op-root. Return an error when the node is not found.
  (op_revert_txn,
   op_revert_recursive_txn): Update caller.


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