@Override
 public VirtualFile[] getAllVersionedRoots() {
   List<VirtualFile> vFiles = new ArrayList<VirtualFile>();
   final AbstractVcs[] vcses = myMappings.getActiveVcses();
   for (AbstractVcs vcs : vcses) {
     Collections.addAll(vFiles, getRootsUnderVcs(vcs));
   }
   return VfsUtilCore.toVirtualFileArray(vFiles);
 }
 @Override
 @NotNull
 public VcsRoot[] getAllVcsRoots() {
   List<VcsRoot> vcsRoots = new ArrayList<VcsRoot>();
   final AbstractVcs[] vcses = myMappings.getActiveVcses();
   for (AbstractVcs vcs : vcses) {
     final VirtualFile[] roots = getRootsUnderVcs(vcs);
     for (VirtualFile root : roots) {
       vcsRoots.add(new VcsRoot(vcs, root));
     }
   }
   return vcsRoots.toArray(new VcsRoot[vcsRoots.size()]);
 }
 @Override
 public AbstractVcs[] getAllActiveVcss() {
   return myMappings.getActiveVcses();
 }