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
Unknown Object (File)
Mon, Nov 18, 9:39 PM
Unknown Object (File)
Oct 22 2024, 12:53 PM
Unknown Object (File)
Oct 21 2024, 8:07 PM
Unknown Object (File)
Oct 9 2024, 1:32 PM
Unknown Object (File)
Oct 9 2024, 1:32 PM
Unknown Object (File)
Oct 9 2024, 1:32 PM
Unknown Object (File)
Oct 7 2024, 10:11 PM
Unknown Object (File)
Sep 6 2024, 8:12 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.