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