void (@NotNull DefaultActionGroup group) { AnAction intelliSortAction = ActionManager.getInstance().getAction(VcsLogActionIds.VCS_LOG_INTELLI_SORT_ACTION); if (BekUtil.isBekEnabled()) { if (BekUtil.isLinearBekEnabled()) { group.replaceAction(intelliSortAction, new IntelliSortChooserPopupAction()); } } else { // drop together with com.intellij.vcs.log.util.BekUtil.isBekEnabled group.remove(intelliSortAction); } }