ISVNWorkspace ws = createWorkspace(path[i]);
path[i] = path[i].replace(File.separatorChar, '/'); String parentPath = PathUtil.removeTail(path[i]); ISVNWorkspace ws = createWorkspace(parentPath);
    public void remove(String[] path, String message, boolean force) throws ClientException {        if (path == null || path.length == 0) {            return;                    }        if (isURL(path[0])) {            String rootURL = PathUtil.getCommonRoot(path);            if (!isURL(rootURL)) {                throwException(new SVNException("all locations should be within the same repository"));            }            try {                SVNRepository repository = createRepository(rootURL);                ISVNEditor editor = repository.getCommitEditor(message, null);                editor.openRoot(-1);                for(int i = 0; i < path.length; i++) {                    String subPath = path[i].substring(rootURL.length());                    subPath = PathUtil.removeLeadingSlash(subPath);                    editor.deleteEntry(PathUtil.decode(subPath), -1);                }                editor.closeEdit();            } catch (SVNException e) {                throwException(e);            }        } else {            for(int i = 0; i < path.length; i++) {                if (isURL(path[i])) {                    throwException(new SVNException("remove method doesn't accept remote locations mixed with WC path"));                }                try {                    ISVNWorkspace ws = createWorkspace(path[i]);                    ws.addWorkspaceListener(new LocalWorkspaceListener(myNotify, ws));                    ws.delete(SVNUtil.getWorkspacePath(ws, path[i]), force);                } catch (SVNException e) {                    throwException(e);                }            }        }    }