Julian Foad <julian.f...@wandisco.com> writes:

>> - * @a to is the path to the directory where you wish to create the exported
>> - * tree.
>> + * When exporting a directory @a to is the path to the directory where
>> + * you wish to create the exported tree, when exporting a file it is
>> + * the path of the file that will be created.  If @a to is the empty
>> + * path the name of the file/directory in the repository will be used.
>
> I'm not sure that last sentence is true for a directory, only for a
> file.

It describes the command line client behaviour, and the client doesn't
distinguish files/directories when calling svn_client_export5.

> I think this doc string may need to explain more subtleties to the total
> behaviour, but I haven't quite grokked it all.  For example: does it
> make any difference whether the specified path already exists on disk?
> For a dir, is the exported tree's root created *at* or *below* the
> specified dir?

There is a difference between files and directories, files overwrite
while directories give an error saying "use --force".

-- 
Philip

Reply via email to