De-magic NUMBER_OF_REVISIONS