Put Codex to work on your code, with review.
Recent revisions are kept. Restoring one creates a new revision.