/[Apache-SVN]
ViewVC logotype

Revision 1548214


Jump to revision: Previous Next
Author: rhuijben
Date: Thu Dec 5 17:36:57 2013 UTC (10 years, 4 months ago)
Changed paths: 7
Log Message:
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.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_wc/externals.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/update_editor.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc-queries.sql modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc_db.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc_db.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc_db_update_move.c modified , text changed
Directorysubversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26