node.myName = name;
    public void deleteEntry(String path, long revision) throws SVNException {        String name = SVNPathUtil.tail(path);        Node node = null;        if (myCurrentNode != null && myCurrentNode.myChildren != null) {            for (Iterator children = myCurrentNode.myChildren.iterator(); children.hasNext();) {                Node child = (Node) children;                if (child.myName.equals(name)) {                    node = child;                    break;                }            }        }        if (node == null) {            if (myCurrentNode != null) {                node = new Node();                node.myParent = myCurrentNode;                if (myCurrentNode.myChildren == null) {                    myCurrentNode.myChildren = new LinkedList();                }                myCurrentNode.myChildren.add(node);            }        }        node.myAction = SVNChangeEntry.TYPE_DELETED;        SVNLocationEntry baseLocation = findRealBaseLocation(node);        FSRoot baseRoot = null;        if (!SVNRevision.isValidRevisionNumber(baseLocation.getRevision())) {            baseRoot = myBaseRoot;        } else {            baseRoot = myFSFS.createRevisionRoot(baseLocation.getRevision());         }                SVNNodeKind kind = baseRoot.checkNodeKind(baseLocation.getPath());        if (kind == SVNNodeKind.NONE) {            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.FS_NOT_FOUND, "''{0}'' not found in filesystem", path);            SVNErrorManager.error(err);        }                node.myKind = kind;    }