revisions: split handle_revision_opt() from setup_revisions()