public static HgProjectSettings getInstance(@NotNull Project project) {
    return project.getService(HgProjectSettings.class);
  }
public static HgProjectSettings getInstance(@NotNull Project project)