Doug Brown <d...@schmorgal.com> writes:

> * subversion/libsvn_client/export.c
>   (export_directory): Ensure that from_path_or_url is converted to a URL prior
>   to passing it to svn_client__export_externals.

svn_client_export5 has a top level if conditional:

   if (location is url) or (revision implies URL) then
      export from URL
   else
      export from WC

export_directory() is only ever called when exporting from an URL.  I
think svn_client_export5() should be the one to convert the location to
an URL and the lower level export_file_ev2(), export_file() and
export_directory() should be changed to only handle URLs:

 - move the conversion from export_directory to svn_client_export5
 - change the parameter names in export_file_ev2, export_file,
   export_directory
 - remove the path code from those functions as it is never used
 - add SVN_ERR_ASSERT(svn_path_is_url(from_url))



-- 
Philip

Reply via email to