DebugLog.log(path);
DebugLog.log("MKDIR adding dir: " + path);
    private void createRemoteDirectories(final PrintStream out) throws SVNException {        Collection urls = new ArrayList();        for (int i = 0; i < getCommandLine().getURLCount(); i++) {            urls.add(getCommandLine().getURL(i));        }        String[] urlsArray = (String[]) urls.toArray(new String[urls.size()]);        final String root = PathUtil.getFSCommonRoot(urlsArray);        DebugLog.log("MKDIR root: " + root);        String message = (String) getCommandLine().getArgumentValue(SVNArgument.MESSAGE);        for (int i = 0; i < urlsArray.length; i++) {            String dir = urlsArray[i].substring(root.length());            dir = PathUtil.removeLeadingSlash(dir);            urlsArray[i] = dir;        }        ISVNEditor editor = null;        SVNRepository repository = createRepository(root);        editor = repository.getCommitEditor(message, null);        final SVNCommitInfo info;        try {            editor.openRoot(-1);            for (int i = 0; i < urlsArray.length; i++) {                final String path = PathUtil.decode(urlsArray[i]);                DebugLog.log(path);                editor.addDir(path, null, -1);            }            editor.closeDir();        } finally {            info = editor.closeEdit();        }        println(out);        println(out, "Committed revision " + info.getNewRevision() + ".");    }