Complex work with checks at every stage.
Recent revisions are kept. Restoring one creates a new revision.