Handle failures with the right Rust error strategy.
Recent revisions are kept. Restoring one creates a new revision.