void (@NotNull final AnActionEvent e) { final VirtualFile vFile = FileChooser.chooseFile(FileChooserDescriptorFactory.createSingleFolderDescriptor(), myProject, null); if (vFile != null) { final File file = virtualToIoFile(vFile); if (hasDuplicate(file)) { return; // silently do not add duplicate } final String repositoryUUID = SvnUtil.getRepositoryUUID(myVcs, file); // local not consistent copy can not prevent us from integration: only remote local copy is really involved if ((mySelectedRepositoryUUID != null) && (! mySelectedRepositoryUUID.equals(repositoryUUID))) { if (Messages.OK == Messages.showOkCancelDialog((repositoryUUID == null) ? message("action.Subversion.integrate.changes.message.not.under.control.text") : message("action.Subversion.integrate.changes.message.another.wc.text"), getTitle(), UIUtil.getWarningIcon())) { onOkToAdd(file); } } else { onOkToAdd(file); } } }