This is an archive of the discontinued Mercurial Phabricator instance.

split: only do checkunfinished if rebase is needed
ClosedPublic

Authored by quark on Aug 23 2017, 4:13 AM.
Tags
None
Subscribers
None

Details

Reviewers
ryanmce
Group Reviewers
Restricted Project
Commits
rFBHGX5dbb2195c40e: split: only do checkunfinished if rebase is needed
Summary

It's a valid use-case to run split inside a histedit plan. The
checkunfinished was added by D161, which was caused by a user report that
the split changes got lost because of rebase failure. If there is no need to
rebase, then checkunfinished is not necessary.

In the future we might want a splitstate to make it harder to lose split
commits.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

quark created this revision.Aug 23 2017, 4:13 AM
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 23 2017, 4:13 AM
ryanmce accepted this revision.Aug 23 2017, 4:45 AM
This revision is now accepted and ready to land.Aug 23 2017, 4:45 AM
This revision was automatically updated to reflect the committed changes.