void (@NotNull final Project project, @NotNull final VirtualFile file, @NotNull final VcsRevisionNumber targetRevNumber, @NotNull DiffProvider provider) { String revNumTitle1 = getRevisionTitle(getShortRevisionString(targetRevNumber), false); String revNumTitle2 = VcsBundle.message("diff.title.local"); String dialogTitle = VcsBundle.message("history.dialog.title.difference.between.versions.in", revNumTitle1, revNumTitle2, file.getName()); CompareWithLocalDialog.showChanges(project, dialogTitle, CompareWithLocalDialog.LocalContent.AFTER, () -> { return provider.compareWithWorkingDir(file, targetRevNumber); }); }