SVNKit's SVNCpoyClient method not working properly

Posted by Gabriel Parenza on Stack Overflow See other posts from Stack Overflow or by Gabriel Parenza
Published on 2010-04-19T05:45:22Z Indexed on 2010/04/19 5:53 UTC
Read the original article Hit count: 397

Filed under:

Hi Everyone,

I am having trouble copying file using SVNKit. After copying the files from source to destination files end up one folder above the intended folder. For ex: When copying files from "https://example.com/svn/repos/trunk/project/src/ex.txt" to "https://example.com/svn/repos/branches/PackageN/project/src", files end up in "project" folder inside PackageN while my intention is to move it to "src" folder inside "project.

Code I am using: svnCopySource svnCopySource[] = new SVNCopySource[]{}; SVNCommitInfo svnCommitInfo = SVNClientManager.newInstance(null,"", "").getCopyClient().doCopy(svnCopySource, dstURL, false, false, false,commitMessage, null); // SVNCopySource[] sources // SVNURL dst // boolean isMove // boolean makeParents // boolean failWhenDstExists, // String commitMessage, // SVNProperties revisionProperties

© Stack Overflow or respective owner

Related posts about svnkit