/[Apache-SVN]
ViewVC logotype

Revision 1666690


Jump to revision: Previous Next
Author: rhuijben
Date: Sat Mar 14 14:30:17 2015 UTC (9 years, 8 months ago)
Changed paths: 2
Log Message:
In the libsvn_client merge code: When reporting and recording that we skip a
node because it is shadowed on an ancestor, properly record that the
ancestor is skipped instead of the descendant itself.

* subversion/libsvn_client/merge.c
  (record_skip): Only record a skip, if we really skipped this node, and
    not one of its ancestors. To do this handle this add a parent-baton
    argument to this function.
  (merge_file_changed,
   merge_file_added,
   merge_file_deleted): Update caller.

  (merge_dir_opened): Not only skip the directory add, but also record it
    as skipped.

  (merge_dir_changed,
   merge_dir_added,
   merge_dir_deleted,
   merge_node_absent): Update caller.

* subversion/tests/cmdline/merge_tree_conflict_tests.py
  (merge_obstruction_recording): New function.
  (test_list): Add merge_obstruction_recording.

Found by: Pete Harlan <pchpublic88{_AT_}gmail.com>


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_client/merge.c modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/merge_tree_conflict_tests.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26