HomePhabricator

undo: improved --branch handling

Authored by felixmerk.

Description

undo: improved --branch handling

Adds --branch handling to the no argument redo. Also adds better branch testing
and takes a more sensible approach to an undo after an undo --branch.

Redo now restores undoredo.i's --branch field. Undo after a undo --branch is
now an absolute undo. See test cases.

Test Plan:
unit

Differential Revision: https://phab.mercurial-scm.org/D324

Details

Committed
felixmerkAug 11 2017, 9:05 PM
Differential Revision
D324: undo: improved --branch handling
Parents
rFBHGXc28c2ff754c4: undo: better docs
Branches
Unknown
Tags
Unknown