}
return new long[0];
}
public void copy(String srcPath, String destPath, String message, Revision revision) throws ClientException {
SVNCopyClient client = getSVNCopyClient();
SVNRevision srcRevision = JavaHLObjectFactory.getSVNRevision(revision);
try {
if(isURL(srcPath) && isURL(destPath)){
client.doCopy(SVNURL.parseURIEncoded(srcPath), srcRevision, SVNURL.parseURIEncoded(destPath), false, message);
} else if (isURL(srcPath) && !isURL(destPath)) {
client.doCopy(SVNURL.parseURIEncoded(srcPath), srcRevision, new File(destPath).getAbsoluteFile());
} else if (!isURL(srcPath) && isURL(destPath)) {
client.doCopy(new File(srcPath).getAbsoluteFile(), srcRevision, SVNURL.parseURIEncoded(destPath), message);
} else if (!isURL(srcPath) && !isURL(destPath)) {
client.doCopy(new File(srcPath).getAbsoluteFile(), srcRevision, new File(destPath).getAbsoluteFile(), false, false);
}
} catch (SVNException e) {
throwException(e);
}
}