Doug Brown <>

r1802316, r1802080

r1802080 | philip | 2017-07-16 18:37:00 +0000 (Sun, 16 Jul 2017)

Add an XFAIL test.  Exporting a specific revision from a working copy
with root-relative externals currently results in an assertion failure.

* subversion/tests/cmdline/
  (export_revision_with_root_relative_external): Add new test.
  (test_list): Register the new test.

Patch by:  Doug Brown <doug{_AT_}>

r1802316 | philip | 2017-07-18 16:01:11 +0000 (Tue, 18 Jul 2017)

Make svn_client_export5 only deal with the repository URL in cases where
a revision is supplied. This resolves an assertion failure if a working
copy path was supplied and there are relative externals.

* subversion/include/svn_client.h
  (svn_client_export5): Update documentation to indicate that revision is no
   longer only used when exporting from a repository URL.

* subversion/libsvn_client/export.c
  (export_file_ev2, export_file, export_directory): Change to only handle URLs
   and assert that the supplied from_url parameter is actually a URL.
  (svn_client_export5): If exporting a working copy requires a URL, convert
   the working copy path to a URL prior to passing it to the export_* functions
   mentioned above.

* subversion/tests/cmdline/
  (export_revision_with_root_relative_external): Remove XFail tag, and update
   the test to check for correct output and export results

Patch by: Doug Brown <doug{_AT_}>