( )⚙ D324 undo: improved --branch handling

This is an archive of the discontinued Mercurial Phabricator instance.

undo: improved --branch handling
ClosedPublic

Authored by felixmerk on Aug 10 2017, 6:39 PM.
Tags
None
Subscribers
None

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGX418171f302d0: undo: improved --branch handling
Summary

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

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

felixmerk created this revision.Aug 10 2017, 6:39 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 10 2017, 6:39 PM
quark accepted this revision.Aug 11 2017, 8:56 PM
This revision is now accepted and ready to land.Aug 11 2017, 8:56 PM
This revision was automatically updated to reflect the committed changes.