Remove the --to-target option from the revert command.

Replace it with --to-change. The old option is still there, but will emit a
deprecation warning. --target is gone altogether.