Keep your web and mobile app code consistent.
Recent revisions are kept. Restoring one creates a new revision.