Resolve issue #3590, by making 'svn copy' capable of copying directory
structures from foreign repositories.

A notification is added to make it clear that this is not just a cheap
copy, like the intra repository copies.


* subversion/tests/libsvn_client/client-test.c
  (test_foreign_repos_copy): Update caller.

* subversion/tests/cmdline/copy_tests.py
  (repos_to_wc): Add more recent issue number. Update expected result for
    foreign repository copy.

* subversion/svn/notify.c
  (notify): Add new notification handling.

* subversion/libsvn_client/copy_foreign.c
  (edit_open): Make root directory when opening to make sure files in the root
    work properly when completely handled before other changes.
  (svn_client__copy_foreign): Allow usage within an existing lock.

* subversion/libsvn_client/copy.c
  (repos_to_wc_copy_single): Use svn_client__copy_foreign for foreign
    repository copies.

* subversion/include/svn_wc.h
  (svn_wc_notify_action_t): Add notification value.

* subversion/include/private/svn_client_private.h
  (svn_client__copy_foreign): Update prototype.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1437203 13f79535-47bb-0310-9956-ffa450edef68