Re: How to create a branch/tag using the SVN API?
On 07/28/2010 11:08 AM, Bert Huijben wrote:
> I would use the svn_client_copyX() command to just copy the urls you need.
> Seems like a much easier way to handle it, then to reproduce all the
> behavior myself.
> The error you see is that you can only copy from explicit (historic)
> locations, so I think you should copy from a revision root instead of from
> the transaction root. (The target must be the transaction of course)
Thanks for your answer. Unfortunately, the SVN API
(http://php.net/manual/en/book.svn.php) doesn't have a
svn_client_copyX() command :-( ...
When I try to copy from a revision root, I'm getting this error:
>> PHP Warning: svn_fs_copy(): supplied resource is not a valid
svn-fs-root resource in /var/www/pipa/testsvn.php on line 10
Received on 2010-07-28 11:56:16 CEST
This is an archived mail posted to the Subversion Dev