Revert Operation
Revert creates inverse changes from the selected revisions and places them at a target.
Press shift+r in the Revisions view to enter revert mode. The source revisions are marked with << revert >> in the list.
Target modes
Section titled “Target modes”oonto: places the reverted changes as children of the target. Existing descendants of the target are not affected.aafter: places the reverted changes after the target, and rebases the target’s existing descendants on top.bbefore: places the reverted changes before the target, inserting them between the target and its parents.iinsert: two-step placement — navigate to the “after” revision and pressito mark it (<< after this >>), then navigate to the “before” revision and pressenter(<< before this >>). The reverted changes are inserted between the two points.t: open the target picker.
Target picker
Section titled “Target picker”When the target revision is not visible in the current revset, press t to open the target picker. It lists bookmarks and tags, and also accepts a raw revset expression.
up/down: movetab/shift+tab: autocompleteenter: applyalt+enter: force applyesc: cancel
Apply and cancel
Section titled “Apply and cancel”enter: applyalt+enter: force applyesc: cancel