Page MenuHomePhabricator

Fix a check when deciding to destroy the local branch after "arc land"
ClosedPublic

Authored by epriestley on Oct 28 2015, 5:06 PM.
Tags
None
Referenced Files
F15461893: D14358.id34665.diff
Tue, Apr 1, 12:12 PM
F15452462: D14358.id34665.diff
Sat, Mar 29, 5:01 AM
F15448119: D14358.id34666.diff
Fri, Mar 28, 3:15 AM
F15441034: D14358.id.diff
Wed, Mar 26, 4:07 PM
F15437749: D14358.diff
Tue, Mar 25, 9:16 PM
F15422856: D14358.id34665.diff
Sat, Mar 22, 11:04 AM
F15408787: D14358.diff
Wed, Mar 19, 1:18 AM
F15377030: D14358.id34666.diff
Thu, Mar 13, 7:16 AM
Subscribers
None

Details

Summary

Fixes T9660. The behavior for this check wasn't quite right -- we want to check the "source ref" (what we're landing) against the "target onto" (the branch we're landing it onto).

Test Plan
  • Landed from master (tracking origin/master). No delete.
  • Landed from feature1 (tracking local/master). Delete.
  • Landed from feature2 (tracking origin/master). Delete.

Diff Detail

Repository
rARC Arcanist
Branch
land3
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/land/ArcanistGitLandEngine.php:319XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 8472
Build 9756: Run Core Tests
Build 9755: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Fix a check when deciding to destroy the local branch after "arc land".
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Oct 28 2015, 5:07 PM
This revision was automatically updated to reflect the committed changes.