Migrate your code with tests and parallel helpers.
Recent revisions are kept. Restoring one creates a new revision.