ReturnResult (@Nullable CommitExecutor executor, PairConsumer<Object, Object> additionalDataConsumer) { if (executor instanceof LocalCommitExecutor) return ReturnResult.COMMIT; final SvnVcs vcs = SvnVcs.getInstance(project); MultiMap<Url, WorkingCopyFormat> copiesInfo = splitIntoCopies(vcs, panel.getSelectedChanges()); List<Url> repoUrls = new ArrayList<>(); for (Map.Entry<Url, Collection<WorkingCopyFormat>> entry : copiesInfo.entrySet()) { if (entry.getValue().size() > 1) { repoUrls.add(entry.getKey()); } } if (! repoUrls.isEmpty()) { String join = StringUtil.join(repoUrls, Url::toDecodedString, ",\n"); final int isOk = showOkCancelDialog( project, message("checkin.different.formats.involved", repoUrls.size() > 1 ? 1 : 0, join), message("dialog.title.commit.will.split"), Messages.getWarningIcon() ); return Messages.OK == isOk ? ReturnResult.COMMIT : ReturnResult.CANCEL; } return ReturnResult.COMMIT; }