Restore Repo to functional state