getEntries().save(true);
getEntries().save(false);
    public void destroy(String name, boolean deleteWorkingFiles) throws SVNException {        if ("".equals(name)) {            SVNDirectory parent = null;            if ("".equals(myPath)) {                SVNWCAccess parentWCAccess = null;                try {                    parentWCAccess = SVNWCAccess.create(getRoot().getParentFile());                    parentWCAccess.open(true, false);                    parent = parentWCAccess.getAnchor();                    destroyDirectory(parent, this, deleteWorkingFiles);                } catch (SVNException e) {                    parent = null;                } finally {                    if (parent != null) {                        parent.getEntries().save(true);                    }                    if (parentWCAccess != null) {                        parentWCAccess.close(true);                    }                    myWCAccess.removeDirectory("");                }                if (parent != null) {                    return;                }            } else {                String parentPath = PathUtil.removeTail(myPath);                parent = myWCAccess.getDirectory(parentPath);                if (parent != null && !parent.isVersioned()) {                    parent = null;                }            }            destroyDirectory(parent, this, deleteWorkingFiles);            myWCAccess.removeDirectory(myPath);            if (parent != null) {                parent.getEntries().save(true);            }        } else {            File file = getFile(name, false);            SVNFileType type = SVNFileType.getType(file);            if (type == SVNFileType.DIRECTORY) {                SVNDirectory childDir = getChildDirectory(name);                if (childDir != null && childDir.isVersioned()) {                    destroyDirectory(this, childDir, deleteWorkingFiles);                    myWCAccess.removeDirectory(childDir.getPath());                }            } else {                destroyFile(name, deleteWorkingFiles);            }        }        getEntries().save(true);    }