public HgCommandResult execute(@NotNull String rootPath) {
    final HgCommandExecutor executor = new HgCommandExecutor(myProject, rootPath);
    executor.setShowOutput(true);
    return executor.executeInCurrentThread(null, "init", Collections.singletonList(rootPath));
  }
public HgCommandResult execute(@NotNull String rootPath)