setup_revisions: remember whether a ref was positive or not