rebase: inline single-use dryrun and confirm variables
Differential Revision: https://phab.mercurial-scm.org/D7642