Unit tests for the behavior your change could break.
Recent revisions are kept. Restoring one creates a new revision.