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
F18860569: D21339.id.diff
Sun, Nov 2, 11:59 AM
F18753651: D21339.id.diff
Oct 4 2025, 7:48 PM
F18679690: D21339.diff
Sep 26 2025, 1:19 AM
F18671903: D21339.id50776.diff
Sep 25 2025, 5:49 AM
F18650256: D21339.id.diff
Sep 21 2025, 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
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.