Polycomb controls gliogenesis by regulating the transient expression of the gcm/glide fate determinant.