public void addDir(String path, String copyFromPath, long copyFromRevision) throws SVNException {
myCurrentDirectory = new SVNDirectoryInfo(myCurrentDirectory, path, true);
myCurrentDirectory.myBaseProperties = Collections.EMPTY_MAP;
SVNEventAction expectedAction = SVNEventAction.UPDATE_ADD;
SVNEventAction action = expectedAction;
SVNStatusType type = getDiffCallback().directoryAdded(path, myRevision2);
if (myEventHandler != null) {
if (type == SVNStatusType.MISSING || type == SVNStatusType.OBSTRUCTED) {
action = SVNEventAction.SKIP;
}
SVNEvent event = SVNEventFactory.createMergeEvent(myAdminInfo, path, action, expectedAction, type, type, SVNNodeKind.DIR);
myEventHandler.handleEvent(event, ISVNEventHandler.UNKNOWN);
}
}