private void setRoots(@NotNull Collection<HgRepository> repositories, final @Nullable HgRepository selectedRepo) {
    hgRepositorySelector.setRoots(repositories);
    hgRepositorySelector.setSelectedRoot(selectedRepo);
    onChangeRepository();
  }
private void setRoots(@NotNull Collection<HgRepository> repositories, final @Nullable HgRepository selectedRepo)