void (@NotNull Project project, @Nullable VirtualFile repo) { HgRepository hgRepository = HgUtil.getRepositoryManager(project).getRepositoryForRoot(repo); assertNotNull(hgRepository); hgRepository.updateConfig(); }