cherry-pick/revert: respect order of revisions to pick