public static @NotNull @Unmodifiable List<String> getTargetNames(@NotNull HgRepository repository) {
    return ContainerUtil.sorted(ContainerUtil.map(repository.getRepositoryConfig().getPaths(), s -> removePasswordIfNeeded(s)));
  }
public static @NotNull @Unmodifiable List<String> getTargetNames(@NotNull HgRepository repository)