updater.doRelocate(new File(absolutePath).getAbsoluteFile(), url, getCommandLine().getURL(1), !getCommandLine().hasArgument(SVNArgument.NON_RECURSIVE));
SVNURL targetURL = SVNURL.parseURIEncoded(getCommandLine().getURL(1)); updater.doRelocate(new File(absolutePath).getAbsoluteFile(), switchURL, targetURL, !getCommandLine().hasArgument(SVNArgument.NON_RECURSIVE));
    public void run(final PrintStream out, final PrintStream err) throws SVNException {        String url = getCommandLine().getURL(0);        String absolutePath = getCommandLine().getPathAt(0);        SVNRevision revision = parseRevision(getCommandLine());        if (!revision.isValid()) {            revision = SVNRevision.HEAD;        }        getClientManager().setEventHandler(new SVNCommandEventProcessor(out, err, false, false));        SVNUpdateClient updater = getClientManager().getUpdateClient();        try {            if (getCommandLine().hasArgument(SVNArgument.RELOCATE)) {                updater.doRelocate(new File(absolutePath).getAbsoluteFile(), url, getCommandLine().getURL(1), !getCommandLine().hasArgument(SVNArgument.NON_RECURSIVE));            } else {                updater.doSwitch(new File(absolutePath).getAbsoluteFile(), url, revision, !getCommandLine().hasArgument(SVNArgument.NON_RECURSIVE));            }        } catch (Throwable th) {            SVNDebugLog.log(th);            println(err, th.getMessage());            println(err);            System.exit(1);        }    }