@Override
    public List<FilePath> getRoots(@NotNull DataContext dataContext, @NotNull ActionInfo actionInfo) {
      ArrayList<FilePath> result = new ArrayList<>();
      Project project = dataContext.getData(CommonDataKeys.PROJECT);
      final ProjectLevelVcsManager vcsManager = ProjectLevelVcsManager.getInstance(project);
      final AbstractVcs[] vcses = vcsManager.getAllActiveVcss();
      for (AbstractVcs vcs : vcses) {
        if (actionInfo.getEnvironment(vcs) != null) {
          final VirtualFile[] files = vcsManager.getRootsUnderVcs(vcs);
          for (VirtualFile file : files) {
            result.add(VcsUtil.getFilePath(file));
          }
        }
      }
      return result;
    }
@Override
    public List<FilePath> getRoots(@NotNull DataContext dataContext, @NotNull ActionInfo actionInfo)