void (List<VcsDirectoryMapping> mappings) { ProjectLevelVcsManager vcsManager = ProjectLevelVcsManager.getInstance(myProject); vcsManager.setDirectoryMappings(mappings); ChangeListManagerImpl.getInstanceImpl(myProject).waitUntilRefreshed(); }