public SVNCommitInfo doCopy(String srcURL, SVNRevision srcPegRevision, SVNRevision srcRevision, String dstURL, SVNRevision dstPegRevision, boolean move, String commitMessage) throws SVNException { if (srcRevision == null) { srcRevision = SVNRevision.HEAD;
public SVNCommitInfo doCopy(File srcPath, SVNRevision srcPegRevision, SVNRevision srcRevision, File dstPath, SVNRevision dstPegRevision, SVNRevision dstRevision, boolean force, boolean move, String commitMessage) throws SVNException { if (srcRevision == null || !srcRevision.isValid()) { srcRevision = SVNRevision.WORKING;
    public SVNCommitInfo doCopy(String srcURL, SVNRevision srcPegRevision,            SVNRevision srcRevision, String dstURL, SVNRevision dstPegRevision,            boolean move, String commitMessage) throws SVNException {        if (srcRevision == null) {            srcRevision = SVNRevision.HEAD;        }        if (srcPegRevision == null) {            srcPegRevision = SVNRevision.UNDEFINED;        }        if (dstPegRevision == null) {            dstPegRevision = SVNRevision.UNDEFINED;        }        srcURL = validateURL(srcURL);        dstURL = validateURL(dstURL);        long srcRevNumber = getRevisionNumber(srcURL, srcRevision);        srcURL = getURL(srcURL, srcPegRevision, SVNRevision                .create(srcRevNumber));        dstURL = getURL(dstURL, dstPegRevision, SVNRevision.HEAD);        return url2urlCopy(srcURL, srcRevNumber, dstURL, commitMessage, move);    }