SVNDirectory dir = getAnchor().getChildDirectory(myName);
SVNDirectory dir = "".equals(myName) ? getAnchor() : new SVNDirectory(this, myName, new File(getAnchor().getRoot(), myName));
    public String getTargetEntryProperty(String propertyName) throws SVNException {        SVNDirectory dir = getAnchor().getChildDirectory(myName);        SVNEntries entries = null;        String name = "";        if (dir != null) {            entries = dir.getEntries();        }        if (entries == null) {            entries = getAnchor().getEntries();            name = myName;        }        String value = null;        if (entries != null) {            try {                if (entries.getEntry(name) == null) {                    name = "";                }                value = entries.getPropertyValue(name, propertyName);            } finally {                entries.close();            }        }        return value;            }