Log Message: |
Following up on r1658406, rework the recently added svnmucc tests.
There is a behavior change in how svnmucc processes actions, and this change
happened between 1.8.13 and 1.9.0-rc1. Some action sequences with deletes
and moves that used to work in 1.8.13 will trigger an error in 1.9.0-rc1 and
later versions. Based on the discussion in <dev@subversion.apache.org>, they
probably indicate a mistake and could lead to unexpected results for the end
user. We now prohibit them and accept the possible incompatibility outcomes.
I turned the corresponding XFail() tests into a single passing test that
specifies the current behavior, i.e., svnmucc returning errors. Related
discussion can be found in http://svn.haxx.se/dev/archive-2015-05/0038.shtml
(Subject: "Re: Issue 4579 / svnmucc fails to process certain deletes").
* subversion/tests/cmdline/svnmucc_tests.py:
(modify_and_delete_file, propset_and_delete_file, delete_and_delete_file):
Remove. Take all the interesting command sequences and consolidate them
in ...
(prohibited_deletes_and_moves): ...this new test. Populate it with a
couple of move action sequences that we currently disallow.
(test_list): Track the test changes.
|