Split repository in ro/rw