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