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
F18753651: D21339.id.diff
Sat, Oct 4, 7:48 PM
F18679690: D21339.diff
Fri, Sep 26, 1:19 AM
F18671903: D21339.id50776.diff
Thu, Sep 25, 5:49 AM
F18650256: D21339.id.diff
Sun, Sep 21, 12:03 AM
F18601571: D21339.id50776.diff
Sep 13 2025, 12:51 PM
F18564281: D21339.diff
Sep 9 2025, 9:38 AM
F18198694: D21339.diff
Aug 18 2025, 1:09 AM
F18101176: D21339.id.diff
Aug 9 2025, 12:21 PM
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.