Add verification of working copy write lock to some move-update handling to
show a few current lock violations as XFAIL. (These problems exist in 1.8.x).

* subversion/libsvn_wc/wc_db.c
  (wclock_owns_lock): Remove prototype.
  (wclock_obtain_cb): Update caller.
  (wclock_owns_lock): Rename to ...
  (svn_wc__db_wclock_owns_lock_internal): ... this.
  (svn_wc__db_wclock_owns_lock): Update caller.

* subversion/libsvn_wc/wc_db_private.h
  (svn_wc__db_wclock_owns_lock_internal): New function.

* subversion/libsvn_wc/wc_db_update_move.c
  (verify_write_lock): New function.
  (bump_mark_tree_conflict,
   bump_moved_layer): Verify write lock.

* subversion/tests/libsvn_wc/op-depth-test.c
  (test_funcs): Mark 4 tests as XFail. These problems should be resolved for
    1.9.


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