Create '1.9.x-commit-fixes' branch based of the '1.9.x-db-verify' branch

* subversion/libsvn_client/commit.c (r1661363)
  (post_process_commit_item): Request removing locks on restructuring
    operations. Even though the node itself has no locks, shadowed
    descendants might. (And the repository handles this the same way)

* subversion/libsvn_wc/wc-queries.sql:
  (STMT_COMMIT_DESCENDANTS_TO_BASE): Properly set moved_to to NULL. (r1660781)
  
  (STMT_SELECT_MOVED_DESCENDANTS_SHD, (r1661718)
   STMT_SELECT_MOVED_DESCENDANTS_SRC): Also scan the node itself for moves.

* subversion/libsvn_wc/wc_db.c
  (db_base_remove): Use internal api.

  (moved_descendant_collect): New function, extracted from...
  (moved_descendant_commit): ... this. Switch key/value to avoid overwriting.

  (commit_node):
    Remove unused argument. (r1661730)
    Handle deletes (r1661504)
    Fix lock removal (r1660781, r1661363)
    Properly break moves on both sides (r1660781)

  (svn_wc__db_global_commit): Update caller. Remove unused argument. (r1661730)

  (process_committed_leaf): Use commit_node for deletes (r1661504)

* subversion/libsvn_wc/wc_db.h
  (svn_wc__db_global_commit): Remove unused argument. (r1661730)

* subversion/tests/cmdline/lock_tests.py (r1661335,1661363)
  (break_delete_add): Remove XFail
  (delete_dir_with_lots_of_locked_files): Use multi-lock operation.
  (delete_locks_on_depth_commit): New test.
  (test_list): Add delete_locks_on_depth_commit.

* subversion/tests/libsvn_wc/op-depth-test.c
  (verify_db_callback,
   verify_db): New functions. (r1661718)
  (insert_dirs): Support adding moves. (r1661755)
  (commit_moved_descendant,
   commit_moved_away_descendant): Extend tests.
  (test_global_commit): New test. (r1661755)
  (test_funcs): Add test_global_commit.

* subversion/tests/libsvn_wc/wc-test-queries.sql
  (STMT_INSERT_NODE): Add data to more columns. (r1661755)


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.9.x-commit-fixes@1661930 13f79535-47bb-0310-9956-ffa450edef68
7 files changed