public static @NotNull List<String> getCommonBranches(@NotNull Collection<? extends HgRepository> repositories) {
    return getCommonNames(repositories, false);
  }
public static @NotNull List<String> getCommonBranches(@NotNull Collection<? extends HgRepository> repositories)