@CalledInAny
  public static @NotNull Collection<String> getRepositoryPaths(@NotNull Project project,
                                                               @NotNull VirtualFile root) {
    HgRepository hgRepository = getRepositoryManager(project).getRepositoryForRootQuick(root);
    assert hgRepository != null : "Repository can't be null for root " + root.getName();
    return hgRepository.getRepositoryConfig().getPaths();
  }
@CalledInAny
  public static @NotNull Collection<String> getRepositoryPaths(@NotNull Project project,
                                                               @NotNull VirtualFile root)