Catch security and scaling risks in Apex code.
Recent revisions are kept. Restoring one creates a new revision.