> Please consider using SVNCopyClient.doCopy(...) method with "isMove"
>parameter set to "true".
Thanks for the quick response, doCopy with isMove works correctly for me. Here
is the code that doesn't work:
SVNClientManager cm = ...;
cm.getUpdateClient().doCheckout(url, co, SVNRevision.UNDEFINED,
SVNRevision.HEAD, SVNDepth.UNKNOWN, true);
cm.getMoveClient().doMove(orig, newFile);
Here is what worked for me:
SVNClientManager cm = ...;
cm.getUpdateClient().doCheckout(url, co, SVNRevision.UNDEFINED,
SVNRevision.HEAD, SVNDepth.UNKNOWN, true);
SVNCopySource[] sc = {new SVNCopySource(SVNRevision.HEAD, SVNRevision.HEAD,
orig)};
cm.getCopyClient().doCopy(sc,newFile,true,true,true );
So is the copy client the new move client?