/[Apache-SVN]
ViewVC logotype

Revision 1879192


Jump to revision: Previous Next
Author: julianfoad
Date: Thu Jun 25 16:35:14 2020 UTC (3 years, 9 months ago)
Changed paths: 2
Log Message:
Fix issue #4859 "Merge removing a folder with non-inheritable mergeinfo ->
E155023: can't set properties: invalid status for updating properties".

The code was attempting to set mergeinfo on a path that is being deleted by
the merge.  This happened only in certain unusual cases such as when
deleting a folder that had non-inheritable mergeinfo and had children.

This patch fixes the problem by removing the 'children_with_mergeinfo'
entries for sub-paths of a deleted folder.

* subversion/libsvn_client/merge.c
  (merge_cmd_baton_t): Allow modifying 'children_with_mergeinfo'.
  (record_update_delete): Remove from 'children_with_mergeinfo' all paths
    in the subtree.

* subversion/tests/cmdline/merge_tests.py
  (merge_deleted_folder_with_mergeinfo): Remove 'XFail'.
  (merge_deleted_folder_with_mergeinfo_2): New test.
  (test_list): Add the new test.


Changed paths

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

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26