long revision = commitClient.doImport(new File(path), url, message, recursive); if (revision >= 0) {
SVNCommitInfo info = commitClient.doImport(new File(path), url, message, recursive); if (info != SVNCommitInfo.NULL) {
    public void run(final PrintStream out, PrintStream err) throws SVNException {        String path = ".";        if (getCommandLine().getPathCount() >= 1) {            path = getCommandLine().getPathAt(0);        }        String url = getCommandLine().getURL(0);        boolean recursive = !getCommandLine().hasArgument(SVNArgument.NON_RECURSIVE);        String message = (String) getCommandLine().getArgumentValue(SVNArgument.MESSAGE);        SVNCommitClient commitClient = new SVNCommitClient(getCredentialsProvider(), getOptions(), new SVNCommandEventProcessor(out, err, false));        long revision = commitClient.doImport(new File(path), url, message, recursive);        if (revision >= 0) {            out.println();            out.println("Imported revision " + revision + ".");        }    }