Apply some minor preparing and correctness changes for the move logic in
libsvn_wc.
This patch adds support for telling the wc_db revision bump whether an actual
update was performed. With this knowledge a lot of move handling logic can
be simplified for the generic case in future patches.
Some parts of this patch are to make sure some move behavior patches I have
kept local for some time don't have to keep in sync with more files than
necessary.
* subversion/libsvn_wc/externals.c
(close_edit): Update caller.
* subversion/libsvn_wc/update_editor.c
(edit_baton): Add variable.
(close_directory): Update editor baton on edit actions.
(close_edit): Pass edited value.
* subversion/libsvn_wc/wc-queries.sql
(STMT_SELECT_LOCAL_RELPATH_OP_DEPTH): Add column.
* subversion/libsvn_wc/wc_db.c
(bump_revisions_post_update): Add argument. Add comment.
(svn_wc__db_op_bump_revisions_post_update): Pass argument
* subversion/libsvn_wc/wc_db.h
(svn_wc__db_op_bump_revisions_post_update): Add argument.
* subversion/libsvn_wc/wc_db_update_move.c
(replace_moved_layer): Properly extend parent delete.
* subversion/tests/libsvn_wc/op-depth-test.c
(check_tree_conflict_repos_path): Turn possible segfault in proper
test error.
|