@Override
  public @Nullable VcsRoot getVcsRootObjectFor(@Nullable VirtualFile file) {
    if (file == null || myProject.isDisposed()) {
      return null;
    }

    NewMappings.MappedRoot root = myMappings.getMappedRootFor(file);
    return root != null ? new VcsRoot(root.vcs, root.root) : null;
  }
@Override
  public @Nullable VcsRoot getVcsRootObjectFor(@Nullable VirtualFile file)