Hi,

I'm currently trying to create a branch/tag through the SVN API - PHP.

This is my code:

<?php
// CLIENT INFO
echo svn_client_version();

// CREATING BRANCH/TAG $svn_repos = svn_repos_open("##PATH_TO_REPO##"); $svn_fs = svn_repos_fs($svn_repos); $svn_tx = svn_fs_begin_txn2($svn_fs, svn_fs_youngest_rev($svn_fs)); $svn_tx_root = svn_fs_txn_root($svn_tx); svn_fs_copy( $svn_tx_root, "/FOO", $svn_tx_root, "/BAR"); svn_repos_fs_commit_txn($svn_tx);

?>

But then I'm getting this error:

[Tue Jul 27 14:50:30 2010] [error] [client 127.0.0.1] PHP Warning: svn_fs_copy(): svn error(s) occured\n200007 (Trying to use an unsupported feature) Copy from mutable tree not currently supported\n in /var/www/pipa/testsvn.php on line 10

Any idea's what I'm doing wrong here?

Jochen

Reply via email to