Add a new svn_wc__db_scan_moved() function based on the internal scan_added() which allows access to a bit more information. Use this information to fix a case where a specific move could never be committed.
* subversion/libsvn_wc/wc_db.c (svn_wc__db_scan_addition): Remove two arguments. Tell implementation which arguments are not needed to avoid additional queries in generic cases. (svn_wc__db_scan_moved): New function.
* subversion/libsvn_wc/wc_db.h (svn_wc__db_scan_addition): Remove moved_from handling additional information as no api user is really depending on it. (svn_wc__db_scan_moved): New function.
* subversion/tests/libsvn_wc/db-test.c (test_scan_addition): Update caller. Also call svn_wc__db_scan_moved.
* subversion/tests/libsvn_wc/op-depth-test.c (nested_move_commit): Use new api. (test_funcs): Remove XFail from commit_moved_descendant.