return ok;
    private boolean checkDescriptorConsistency(ModuleRevisionId mrid, ModuleDescriptor md, ResolvedResource ivyRef) {        boolean ok = true;        if (!mrid.getOrganisation().equals(md.getModuleRevisionId().getOrganisation())) {            Message.error("\t"+getName()+": bad organisation found in "+ivyRef.getResource()+": expected="+mrid.getOrganisation()+" found="+md.getModuleRevisionId().getOrganisation());            ok = false;        }        if (!mrid.getName().equals(md.getModuleRevisionId().getName())) {            Message.error("\t"+getName()+": bad module name found in "+ivyRef.getResource()+": expected="+mrid.getName()+" found="+md.getModuleRevisionId().getName());            ok = false;        }        if (ivyRef.getRevision() != null && !ivyRef.getRevision().startsWith("working@") && md.getModuleRevisionId().getRevision() != null &&                 !ModuleRevisionId.acceptRevision(ivyRef.getRevision(), md.getModuleRevisionId().getRevision())) {            Message.error("\t"+getName()+": bad revision found in "+ivyRef.getResource()+": expected="+ivyRef.getRevision()+" found="+md.getModuleRevisionId().getRevision());            ok = false;        }        if (!ok) {            Message.verbose("\t"+getName()+": inconsistent module descriptor file found for "+mrid+" rejecting");        }        return ok;    }