Rearrange repository