Usage:

axp tree switch-undo [options] [undo-number]

Infoline:

switch between current and previous set of changes

Options:

-h, --helpdisplay this help message and exit
-R, --revision REVfetch REV first as tmp tree or new DIR
-d, --dir DIRcd to DIR first
--testdo not actually perform commands
-v, --verbosebe more verbose
-q, --quietbe quiet
Switch between the current set of changes and the previously
saved one.

This performs 'undo', then swaps two last ,,undo-* directories
(or the last one and some other undo dir in the middle pointed
by undo-number), then 'redo'.