@NotNull
  @Override
  protected AbstractRepositoryManager<HgRepository> getRepositoryManager(@NotNull Project project) {
    return project.getService(HgRepositoryManager.class);
  }
@NotNull
  @Override
  protected AbstractRepositoryManager<HgRepository> getRepositoryManager(@NotNull Project project)