Keep your code and its documentation in sync.
Recent revisions are kept. Restoring one creates a new revision.