@Override
  public void update(@NotNull AnActionEvent e) {
    Project project = e.getProject();
    VcsKey vcsKey = getVcsKey(e);
    e.getPresentation().setEnabled(project != null && getRevisionNumber(e) != null && vcsKey != null
                                   && VcsProjectLog.getSupportedVcs(project).contains(vcsKey));
    e.getPresentation().setText(getActionText(project, vcsKey));
  }
@Override
  public void update(@NotNull AnActionEvent e)