public @Nullable HgCommandResult execute(@NotNull VirtualFile repo, @NotNull String template, int limit, @Nullable HgFile hgFile,
                                           @Nullable List<String> argsForCmd) {
    ShellCommand.CommandResultCollector collector = new ShellCommand.CommandResultCollector(false);
    boolean success = execute(repo, template, limit, hgFile, argsForCmd, collector);
    return success ? collector.getResult() : null;
  }
public @Nullable HgCommandResult execute(@NotNull VirtualFile repo, @NotNull String template, int limit, @Nullable HgFile hgFile,
                                           @Nullable List<String> argsForCmd)