private void addSubdirectory(FSRoot srcRoot, FSRoot tgtRoot, ISVNEditor editor, String srcPath, String path) throws SVNException {
editor.addDir(path, null, -1);
FSRevisionNode node = srcRoot.getRevisionNode(srcPath);
SVNProperties props = node.getProperties(myOwner);
for (Iterator names = props.nameSet().iterator(); names.hasNext();) {
String propName = (String) names.next();
SVNPropertyValue propValue = props.getSVNPropertyValue(propName);
editor.changeDirProperty(propName, propValue);
}