private void executeQRefreshInCurrentThread(@NotNull List<String> chunkFiles) throws VcsException {
    List<String> args = new ArrayList<>();
    args.add("-l");
    args.add(saveCommitMessage().getAbsolutePath());
    args.add("-s");
    args.addAll(chunkFiles);
    HgCommandResult result = new HgCommandExecutor(myProject).executeInCurrentThread(myRepository.getRoot(), "qrefresh", args);
    if (HgErrorUtil.hasErrorsInCommandExecution(result)) {
      new HgCommandResultNotifier(myProject)
        .notifyError(QREFRESH_ERROR,
                     result,
                     HgBundle.message("action.hg4idea.QRefresh.error"),
                     HgBundle.message("action.hg4idea.QRefresh.error.msg"));
    }
  }
private void executeQRefreshInCurrentThread(@NotNull List<String> chunkFiles)