Build code with tests that prove they catch bugs.
Recent revisions are kept. Restoring one creates a new revision.