Overwrite repository due to errors.