myIsTargetDeleted = PathUtil.removeLeadingSlash(path).equals(myTarget);
    public void deleteEntry(String path, long revision) throws SVNException {        SVNLog log = myCurrentDirectory.getLog(true);        Map attributes = new HashMap();        String name = PathUtil.tail(path);                attributes.put(SVNLog.NAME_ATTR, name);        log.addCommand(SVNLog.DELETE_ENTRY, attributes, false);        if (path.equals(myTarget)) {            String kind = myCurrentDirectory.getDirectory().getFile(name).isFile() ? "file" : "dir";            attributes.put(SVNLog.NAME_ATTR, name);            attributes.put("kind", kind);            attributes.put("revision", Long.toString(myTargetRevision));            attributes.put("deleted", Boolean.TRUE.toString());            log.addCommand(SVNLog.MODIFY_ENTRY, attributes, false);                    }        if (mySwitchURL != null) {            myCurrentDirectory.getDirectory().destroy(name, true);        }        log.save();        myCurrentDirectory.runLogs();        myWCAccess.svnEvent(SVNEvent.createUpdateDeleteEvent(myWCAccess, myCurrentDirectory.getDirectory(), name));    }