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