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
F13147738: D21339.id.diff
Fri, May 3, 4:11 PM
Unknown Object (File)
Fri, May 3, 3:36 AM
Unknown Object (File)
Wed, May 1, 11:15 AM
Unknown Object (File)
Mon, Apr 29, 3:30 PM
Unknown Object (File)
Fri, Apr 26, 4:32 PM
Unknown Object (File)
Wed, Apr 24, 11:30 PM
Unknown Object (File)
Sat, Apr 20, 5:20 PM
Unknown Object (File)
Thu, Apr 11, 7:55 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.