Extract capturing revisions to generator-like method
Cosmetic: indentation