@CalledInAny
  private @Nullable HgRepository getRepository(@NotNull VcsRef reference) {
    return HgUtil.getRepositoryManager(myProject).getRepositoryForRootQuick(reference.getRoot());
  }
@CalledInAny
  private @Nullable HgRepository getRepository(@NotNull VcsRef reference)