Your bug fix, documented before implementation.
Recent revisions are kept. Restoring one creates a new revision.