return updater.doSwitch(new File(path).getAbsoluteFile(), url, SVNConverterUtil.getSVNRevision(revision), recurse);
return updater.doSwitch(new File(path).getAbsoluteFile(), SVNURL.parseURIEncoded(url), SVNConverterUtil.getSVNRevision(revision), recurse);
    public long doSwitch(String path, String url, Revision revision, boolean recurse) throws ClientException {        SVNUpdateClient updater = getSVNUpdateClient();        try {            return updater.doSwitch(new File(path).getAbsoluteFile(), url, SVNConverterUtil.getSVNRevision(revision), recurse);        } catch (SVNException e) {            throwException(e);        }        return -1;    }