DebugLog .log("missing dir remains after update (2): entry deleted");
    private void completeDirectory(SVNDirectoryInfo info) throws SVNException {        while (info != null) {            info.RefCount--;            if (info.RefCount > 0) {                return;            }            if (info.Parent == null && myTarget != null) {                return;            }            SVNEntries entries = info.getDirectory().getEntries();            if (entries.getEntry("", true) == null) {                SVNErrorManager.error("svn: Cannot get root entry for '" + info.getDirectory().getPath() + "'");            }            for (Iterator ents = entries.entries(true); ents.hasNext();) {                SVNEntry entry = (SVNEntry) ents.next();                if ("".equals(entry.getName())) {                    entry.setIncomplete(false);                    continue;                }                if (entry.isDeleted()) {                    if (!entry.isScheduledForAddition()) {                        entries.deleteEntry(entry.getName());                    } else {                        entry.setDeleted(false);                    }                } else if (entry.isAbsent()                        && entry.getRevision() != myTargetRevision) {                    entries.deleteEntry(entry.getName());                } else if (entry.getKind() == SVNNodeKind.DIR) {                    SVNDirectory childDirectory = info.getDirectory()                            .getChildDirectory(entry.getName());                    if (myIsRecursive                            && (childDirectory == null || !childDirectory                                    .isVersioned()) && !entry.isAbsent()                            && !entry.isScheduledForAddition()) {                        DebugLog                                .log("missing dir remains after update (2): entry deleted");                        myWCAccess.handleEvent(SVNEventFactory                                .createUpdateDeleteEvent(myWCAccess, info                                        .getDirectory(), entry));                        entries.deleteEntry(entry.getName());                    }                }            }            entries.save(true);            info = info.Parent;        }    }