Page MenuHomePhabricator

Improve "arc land" behavior in the presence of merge conflicts and change sequences
ClosedPublic

Authored by epriestley on Jun 8 2020, 10:42 PM.
Tags
None
Referenced Files
F15485691: D21339.id50776.diff
Thu, Apr 10, 1:48 AM
F15447874: D21339.id50802.diff
Fri, Mar 28, 2:07 AM
F15443250: D21339.id50776.diff
Thu, Mar 27, 3:18 AM
F15437863: D21339.id.diff
Tue, Mar 25, 9:51 PM
F15432951: D21339.diff
Mon, Mar 24, 8:29 PM
F15427585: D21339.diff
Sun, Mar 23, 3:03 PM
F15423780: D21339.diff
Sat, Mar 22, 6:12 PM
F15418772: D21339.id50802.diff
Fri, Mar 21, 1:23 AM
Subscribers
None

Details

Summary

Ref T13546. When we encounter a merge conflict, suggest "--incremental" if it's likely to help.

When merging multiple changes, rebase ranges before merging them. This reduces conflicts when landing sequences of changes.

Test Plan

Ran "arc land" to land multiple changes. Hit better merge conflict messaging, then survived merge conflicts entirely.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jun 8 2020, 11:30 PM
This revision was automatically updated to reflect the committed changes.