Merge repair