void (final ProgressEvent event) { if (event == null || event.getFile() == null) { return; } String path = event.getFile().getAbsolutePath(); String displayPath = event.getFile().getName(); myText2 = null; myText = null; if (handleInDescendants(event)) { updateProgressIndicator(); return; } if (event.getAction() == EventAction.TREE_CONFLICT) { myText2 = SvnBundle.message("progress.text2.treeconflicted", displayPath); updateProgressIndicator(); myUpdatedFiles.registerGroup(createFileGroup(VcsBundle.message("update.group.name.merged.with.tree.conflicts"), FileGroup.MERGED_WITH_TREE_CONFLICT)); addFileToGroup(FileGroup.MERGED_WITH_TREE_CONFLICT, event); } if (event.getAction() == EventAction.UPDATE_ADD || event.getAction() == EventAction.ADD) { myText2 = SvnBundle.message("progress.text2.added", displayPath); if (event.getContentsStatus() == StatusType.CONFLICTED || event.getPropertiesStatus() == StatusType.CONFLICTED) { addFileToGroup(FileGroup.MERGED_WITH_CONFLICT_ID, event); myText2 = SvnBundle.message("progress.text2.conflicted", displayPath); } else if (myUpdatedFiles.getGroupById(FileGroup.REMOVED_FROM_REPOSITORY_ID).getFiles().contains(path)) { myUpdatedFiles.getGroupById(FileGroup.REMOVED_FROM_REPOSITORY_ID).getFiles().remove(path); if (myUpdatedFiles.getGroupById(AbstractSvnUpdateIntegrateEnvironment.REPLACED_ID) == null) { myUpdatedFiles.registerGroup(createFileGroup(SvnBundle.message("status.group.name.replaced"), AbstractSvnUpdateIntegrateEnvironment.REPLACED_ID)); } addFileToGroup(AbstractSvnUpdateIntegrateEnvironment.REPLACED_ID, event); } else { addFileToGroup(FileGroup.CREATED_ID, event); } } else if (event.getAction() == EventAction.UPDATE_NONE) { // skip it return; } else if (event.getAction() == EventAction.UPDATE_DELETE) { myText2 = SvnBundle.message("progress.text2.deleted", displayPath); addFileToGroup(FileGroup.REMOVED_FROM_REPOSITORY_ID, event); } else if (event.getAction() == EventAction.UPDATE_UPDATE) { possiblySwitched(event); if (event.getContentsStatus() == StatusType.CONFLICTED || event.getPropertiesStatus() == StatusType.CONFLICTED) { if (event.getContentsStatus() == StatusType.CONFLICTED) { addFileToGroup(FileGroup.MERGED_WITH_CONFLICT_ID, event); } if (event.getPropertiesStatus() == StatusType.CONFLICTED) { addFileToGroup(FileGroup.MERGED_WITH_PROPERTY_CONFLICT_ID, event); } myText2 = SvnBundle.message("progress.text2.conflicted", displayPath); } else if (event.getContentsStatus() == StatusType.MERGED || event.getPropertiesStatus() == StatusType.MERGED) { myText2 = SvnBundle.message("progres.text2.merged", displayPath); addFileToGroup(FileGroup.MERGED_ID, event); } else if (event.getContentsStatus() == StatusType.CHANGED || event.getPropertiesStatus() == StatusType.CHANGED) { myText2 = SvnBundle.message("progres.text2.updated", displayPath); addFileToGroup(FileGroup.UPDATED_ID, event); } else if (event.getContentsStatus() == StatusType.UNCHANGED && (event.getPropertiesStatus() == StatusType.UNCHANGED || event.getPropertiesStatus() == StatusType.UNKNOWN)) { myText2 = SvnBundle.message("progres.text2.updated", displayPath); } else if (StatusType.INAPPLICABLE.equals(event.getContentsStatus()) && (event.getPropertiesStatus() == StatusType.UNCHANGED || event.getPropertiesStatus() == StatusType.UNKNOWN)) { myText2 = SvnBundle.message("progres.text2.updated", displayPath); } else { myText2 = ""; addFileToGroup(FileGroup.UNKNOWN_ID, event); } } else if (event.getAction() == EventAction.UPDATE_EXTERNAL) { if (mySequentialUpdatesContext != null) { mySequentialUpdatesContext.registerExternalRootBeingUpdated(event.getFile()); } myFilesWaitingForRevision.push(new ArrayList<>()); myExternalsCount++; myText = SvnBundle.message("progress.text.updating.external.location", event.getFile().getAbsolutePath()); } else if (event.getAction() == EventAction.RESTORE) { myText2 = SvnBundle.message("progress.text2.restored.file", displayPath); addFileToGroup(FileGroup.RESTORED_ID, event); } else if (event.getAction() == EventAction.UPDATE_COMPLETED && event.getRevision() >= 0) { possiblySwitched(event); setRevisionForWaitingFiles(event.getRevision()); myExternalsCount--; myText2 = SvnBundle.message("progres.text2.updated.to.revision", event.getRevision()); if (myExternalsCount == 0) { myExternalsCount = 1; StatusBar.Info.set(SvnBundle.message("status.text.updated.to.revision", event.getRevision()), myVCS.getProject()); } } else if (event.getAction() == EventAction.SKIP) { myText2 = SvnBundle.message("progress.text2.skipped.file", displayPath); addFileToGroup(FileGroup.SKIPPED_ID, event); } updateProgressIndicator(); }