Flatten repos