try { read("x", buffer); read("[()]", buffer); return; } catch (SVNException e2) {  } path = getRepositoryPath(path);
    public void unlock(Map pathToTokens, boolean force, ISVNLockHandler handler) throws SVNException {        try {            openConnection();            Object[] buffer = new Object[] { "unlock-many", Boolean.valueOf(force) };            write("(w(w(", buffer);            buffer = new Object[2];            for (Iterator paths = pathToTokens.keySet().iterator(); paths.hasNext();) {                buffer[0] = paths.next();                buffer[1] = pathToTokens.get(buffer[0]);                write("(s(s))", buffer);            }            write(")))", buffer);            try {                authenticate();            } catch (SVNException e) {                if (e.getMessage() != null && e.getMessage().toLowerCase().indexOf("unknown command") > 0) {                    unlock12(pathToTokens, force, handler);                    return;                }                throw e;            }            for (Iterator paths = pathToTokens.keySet().iterator(); paths.hasNext();) {                String path = (String) paths.next();                String id = (String) pathToTokens.get(path);                SVNException error = null;                try {                    read("[(S)]", buffer);                    path = (String) buffer[0];                } catch (SVNException e) {                    // try to read 'x'                    try {                        read("x", buffer);                        read("[()]", buffer);                        return;                    } catch (SVNException e2) {                        //                    }                    path = getRepositoryPath(path);                    error = e;                }                if (handler != null) {                    handler.handleUnlock(path, new SVNLock(path, id, null, null, null, null), error);                }            }            read("x", buffer);            read("[()]", buffer);        } finally {            closeConnection();        }    }