List<CommitExecutor> () { if (exists(HgUtil.getRepositoryManager(myProject).getRepositories(), r -> r.getRepositoryConfig().isMqUsed())) { return List.of(myCommitAndPushExecutor, myMqNewExecutor); } return List.of(myCommitAndPushExecutor); }