parent.asDirectory().deleteChild(entry.getName(), true);
boolean storeInfo = entry.getPropertyValue(SVN_ENTRY_REPLACED) == null; parent.asDirectory().deleteChild(entry.getName(), storeInfo);
    private static void updateWCEntry(ISVNEntry entry, SVNCommitInfo info, String uuid, Collection parents, SVNWorkspace ws) throws SVNException {        String revStr = Long.toString(info.getNewRevision());        entry.setPropertyValue(SVNProperty.REVISION, revStr);        if (entry.getPropertyValue(SVNProperty.COPIED) != null && entry.isDirectory()) {            DebugLog.log("PROCESSING COPIED DIR: " + entry.getPath());            for(Iterator copied = entry.asDirectory().childEntries(); copied.hasNext();) {                ISVNEntry child = (ISVNEntry) copied.next();                parents.add(child);                DebugLog.log("PROCESSING COPIED CHILD: " + child.getPath());                updateWCEntry(child, info, uuid, parents, ws);            }        }        ISVNEntry parent = ws.locateParentEntry(entry.getPath());        if (parent != null) {            // have to be deleted.            parents.add(parent);            if (entry.isScheduledForDeletion() && !entry.isScheduledForAddition()) {                DebugLog.log("UPDATE (delete): " + entry.getPath());                parent.asDirectory().deleteChild(entry.getName(), true);                return;            }        }        if (entry.getPropertyValue(SVNProperty.COMMITTED_REVISION) == null || entry.getPropertyValue(SVNProperty.COPIED) != null) {            entry.setPropertyValue(SVNProperty.COPIED, null);            entry.setPropertyValue(SVNProperty.COPYFROM_URL, null);            entry.setPropertyValue(SVNProperty.COPYFROM_REVISION, null);            entry.setPropertyValue(SVNProperty.SCHEDULE, null);            entry.setPropertyValue(SVNProperty.DELETED, null);            entry.setPropertyValue(SVNProperty.COMMITTED_REVISION, revStr);            entry.setPropertyValue(SVNProperty.LAST_AUTHOR, info.getAuthor());            entry.setPropertyValue(SVNProperty.COMMITTED_DATE, TimeUtil.formatDate(info.getDate()));            entry.setPropertyValue(SVNProperty.UUID, uuid);        }        if (parent != null) {            parent.asDirectory().unschedule(entry.getName());        }        DebugLog.log("UPDATE (commit): " + entry.getPath());        entry.commit();    }