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