final String path; path = getCommandLine().getPathAt(0);
String path; if (getCommandLine().getPathCount() > 0) { path = getCommandLine().getPathAt(0); } else { path = new File("", PathUtil.decode(PathUtil.tail(url))).getAbsolutePath(); }
	public void run(final PrintStream out, final PrintStream err) throws SVNException {        try {		final String url = getCommandLine().getURL(0);		final SVNRepositoryLocation location = SVNRepositoryLocation.parseURL(url);		final String path;		path = getCommandLine().getPathAt(0);        long revision = parseRevision(getCommandLine(), null, null);        SVNUpdater updater = new SVNUpdater(getCredentialsProvider(), new ISVNEventListener() {            private boolean isExternal = false;                        public void svnEvent(SVNEvent event) {                if (event.getAction() == SVNEventAction.UPDATE_ADD) {                    println(out, "A    " + getPath(event.getFile()));                } else if (event.getAction() == SVNEventAction.UPDATE_COMPLETED) {                    if (!isExternal) {                        println(out, "Checked out revision " + event.getRevision() + ".");                    } else {                        println(out, "Checked out external at revision " + event.getRevision() + ".");                        isExternal = false;                    }                    println(out);                } else if (event.getAction() == SVNEventAction.UPDATE_EXTERNAL) {                    println(out);                    println(out, "Fetching external item into '" + event.getPath() + "'");                    isExternal = true;                }            }        });        if (getCommandLine().getURLCount() == 1) {            updater.doCheckout(url, new File(path), SVNRevision.UNDEFINED, SVNRevision.create(revision), !getCommandLine().hasArgument(SVNArgument.NON_RECURSIVE));        } else {            for(int i = 0; i < getCommandLine().getURLCount(); i++) {                String curl = getCommandLine().getURL(i);                File dstPath = new File(path, PathUtil.decode(PathUtil.tail(curl)));                updater.doCheckout(url, dstPath, SVNRevision.UNDEFINED, SVNRevision.create(revision), !getCommandLine().hasArgument(SVNArgument.NON_RECURSIVE));            }        }        } catch (Throwable th) {            DebugLog.error(th);        }	}