[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn_client_copy4 - does it work with two src_paths?

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-11-04 20:19:03 CET

On 11/4/07, Barry Scott <barry@barrys-emacs.org> wrote:
> I'm adding support for svn 1.5 to pysvn and have hit a problem calling
> svn_client_copy4. It likely that I'm calling copy4 incorrectly.
>
> I'm trying to copy two files within a WC to a new folder with
> make_parents=True.
>
> I'm getting a returned error of 195014
> (SVN_ERR_CLIENT_MULTIPLE_SOURCES_DISALLOWED).
>
> Why would copy4 tell me that multiple sources are disallowed?

Because you didn't set copy_as_child to TRUE; see the docstring.

> Why is error->message NULL and not pointing to a string?

Because there is no custom message more specific than the default
message for the error code; use svn_err_best_message instead of direct
access.

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 4 20:19:14 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.