Merging repositories