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)
Fri, Feb 14, 10:28 AM
Unknown Object (File)
Tue, Feb 11, 4:04 AM
Unknown Object (File)
Sun, Feb 9, 9:35 AM
Unknown Object (File)
Sun, Feb 9, 9:35 AM
Unknown Object (File)
Sun, Feb 9, 9:35 AM
Unknown Object (File)
Thu, Jan 30, 10:06 AM
Unknown Object (File)
Wed, Jan 29, 5:53 PM
Unknown Object (File)
Sat, Jan 25, 8:11 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
Branch
land33
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24597
Build 33916: Run Core Tests
Build 33915: arc lint + arc unit

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.