Preparing definitive repo