Duplicate Operation
Duplicate copies one or more selected revisions and places the copies at a target.
Press y in the Revisions view to enter duplicate mode.
Whatever is selected (or the highlighted revision if nothing is selected) when you press y becomes the source. The source revisions are marked << duplicate >> in the list. Navigate to the target revision, choose a placement mode, then press enter to apply (or alt+enter to force apply).
Target modes
Section titled “Target modes”oonto: places the copies as children of the target. Existing descendants of the target are not affected.aafter: places the copies after the target, and rebases the target’s existing descendants on top of the copies.bbefore: places the copies before the target, inserting them between the target and its parents.iinsert: two-step placement — navigate to the “after” revision and pressito mark it, then navigate to the “before” revision and pressenter. The copies 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
Other duplicate-mode keys
Section titled “Other duplicate-mode keys”esc: cancel duplicate modef: ace jump@: jump to working copyj/k,pgup/pgdown: navigation