props.copyTo(dir.getBaseProperties(name, true)); if (!props.getFile().exists()) {  SVNFileUtil.createEmptyFile(props.getFile());
SVNProperties tmpProps = dir.getBaseProperties(name, true); props.copyTo(tmpProps); if (!tmpProps.getFile().exists()) {  SVNFileUtil.createEmptyFile(tmpProps.getFile());
    private void sendPropertiedDelta(String commitPath, SVNCommitItem item,            ISVNEditor editor) throws SVNException {        SVNDirectory dir;        String name;        SVNWCAccess wcAccess = item.getWCAccess();        if (item.getKind() == SVNNodeKind.DIR) {            dir = wcAccess.getDirectory(item.getPath());            name = "";        } else {            dir = wcAccess.getDirectory(SVNPathUtil.removeTail(item.getPath()));            name = SVNPathUtil.tail(item.getPath());        }        SVNEntry entry = dir.getEntries().getEntry(name, false);        boolean replaced = false;        if (entry != null) {            replaced = entry.isScheduledForReplacement();        }        SVNProperties props = dir.getProperties(name, false);        SVNProperties baseProps = replaced ? null : dir.getBaseProperties(name,                false);        Map diff = replaced ? props.asMap() : baseProps.compareTo(props);        if (diff != null && !diff.isEmpty()) {            props.copyTo(dir.getBaseProperties(name, true));            if (!props.getFile().exists()) {                // create empty file just to make sure it will be used on post-commit.                SVNFileUtil.createEmptyFile(props.getFile());            }            myTmpFiles.add(dir.getBaseProperties(name, true).getFile());            for (Iterator names = diff.keySet().iterator(); names.hasNext();) {                String propName = (String) names.next();                String value = (String) diff.get(propName);                if (item.getKind() == SVNNodeKind.FILE) {                    editor.changeFileProperty(commitPath, propName, value);                } else {                    editor.changeDirProperty(propName, value);                }            }        }    }