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)
Bert
Bert,
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
Jochen