if (node == null) {
return;
}
SVNChangeEntry changeEntry = null;
if (node.myAction == SVNChangeEntry.TYPE_ADDED) {
String copyFromPath = includeCopyInfo ? node.myCopyFromPath : null;
long copyFromRevision = includeCopyInfo ? node.myCopyFromRevision : -1;
changeEntry = new SVNChangeEntry(path, node.myKind, node.myAction, copyFromPath, copyFromRevision, false, false);
} else if (node.myAction == SVNChangeEntry.TYPE_DELETED) {
changeEntry = new SVNChangeEntry(path, node.myKind, node.myAction, null, -1, false, false);
} else if (node.myAction == TYPE_REPLACED) {
if (node.myHasPropModifications || node.myHasTextModifications) {
changeEntry = new SVNChangeEntry(path, node.myKind, SVNChangeEntry.TYPE_UPDATED, null, -1, node.myHasTextModifications, node.myHasPropModifications);
}
}
if (changeEntry != null && handler != null) {
handler.handleEntry(changeEntry);