r1843888 | brane | 2018-10-15 08:55:55 +0000 (Mon, 15 Oct 2018)
Correctly handle existing parent directories during repository-to-WC copy.
* subversion/libsvn_client/copy.c
(repos_to_wc_copy): If add_parents flag is set and destination parent
directory exists, but is unversioned, put it under version control.
WC-to-WC copy behaves this way, and so should repos-to-WC copy.
* subversion/tests/cmdline/copy_tests.py
(copy_make_parents_wc_wc_existing_unversioned_dst,
copy_make_parents_repo_wc_existing_unversioned_dst): Check behaviour
with existing. unversioned destination directory for both repos-to-WC
and WC-to-WC cases.
Patch by: Nikita Slyusarev
Fixes #4768