A minimal bug fix, backed by regression tests.
Recent revisions are kept. Restoring one creates a new revision.