myHttpConnection.request("UNLOCK", path, header, (StringBuffer) null, 204, 0, null, null);
SVNErrorMessage context = SVNErrorMessage.create(SVNErrorCode.RA_DAV_REQUEST_FAILED, "Unlock request failed"); myHttpConnection.request("UNLOCK", path, header, (StringBuffer) null, 204, 0, null, null, context);
    public void doUnlock(String path, DAVRepository repos, String id, boolean force) throws SVNException {        if (id == null) {            SVNLock lock = doGetLock(path, repos);            if (lock != null) {                id = lock.getID();            }             if (id == null) {                SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_NOT_LOCKED, "''{0}'' is not locked in the repository", path);                SVNErrorManager.error(err);            }        }        Map header = new HashMap();        header.put("Lock-Token", "<" + id + ">");        if (force) {            header.put("X-SVN-Options", "lock-break");        }        myHttpConnection.request("UNLOCK", path, header, (StringBuffer) null, 204, 0, null, null);    }