public @NotNull Collection<FilePath> getFilePaths(@NotNull VirtualFile repo, @Nullable Collection<FilePath> paths) {
    Collection<FilePath> resultFiles = new HashSet<>();
    Set<HgChange> change = executeInCurrentThread(repo, paths);
    for (HgChange hgChange : change) {
      FilePath file = hgChange.afterFile().toFilePath();
      resultFiles.add(file);
    }
    return resultFiles;
  }
public @NotNull Collection<FilePath> getFilePaths(@NotNull VirtualFile repo, @Nullable Collection<FilePath> paths)