public static @NotNull HgVersion identifyVersion(@NotNull Project project, @NotNull String executable)
    throws ShellCommandException, InterruptedException, ParseException {
    HgCommandResult versionResult = HgUtil.getVersionOutput(project, executable);
    return parseVersionAndExtensionInfo(versionResult.getRawOutput(), versionResult.getErrorLines());
  }
public static @NotNull HgVersion identifyVersion(@NotNull Project project, @NotNull String executable)