Find and refactor code by syntax, not text.
Recent revisions are kept. Restoring one creates a new revision.