public void markResolved(@NotNull VirtualFile repo, @NotNull Collection<FilePath> paths) {
    for (List<String> chunk : VcsFileUtil.chunkPaths(repo, paths)) {
      List<String> args = new ArrayList<>();
      args.add("--mark");
      args.addAll(chunk);
      BackgroundTaskUtil.executeOnPooledThread(HgDisposable.getInstance(myProject), () ->
        new HgCommandExecutor(myProject).executeInCurrentThread(repo, "resolve", args));
    }
  }
public void markResolved(@NotNull VirtualFile repo, @NotNull Collection<FilePath> paths)