Page MenuHomePhabricator

Improve the logic for identifying ambiguous commits and applying "--revision" to them
ClosedPublic

Authored by epriestley on Jun 7 2020, 3:53 PM.
Tags
None
Referenced Files
F13182055: D21325.id50755.diff
Thu, May 9, 7:07 PM
F13175744: D21325.id50789.diff
Wed, May 8, 7:08 AM
F13174499: D21325.id.diff
Tue, May 7, 11:28 PM
Unknown Object (File)
Fri, May 3, 5:57 AM
Unknown Object (File)
Fri, Apr 26, 8:28 AM
Unknown Object (File)
Thu, Apr 25, 12:59 AM
Unknown Object (File)
Sat, Apr 20, 5:18 PM
Unknown Object (File)
Mar 29 2024, 9:21 AM
Subscribers
None

Details

Summary

Ref T13546. This is mostly minor cleanup that improves behavior under "--revision".

Test Plan

Ran arc land --into-empty and arc land --into-empty --revision 123 with ambiguous revisions in history to hit both the force and non-force outcomes.

Diff Detail

Repository
rARC Arcanist
Branch
land18
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/land/engine/ArcanistLandEngine.php:907XHP16TODO Comment
Advicesrc/land/engine/ArcanistLandEngine.php:947XHP16TODO Comment
Advicesrc/land/engine/ArcanistLandEngine.php:950XHP16TODO Comment
Advicesrc/land/engine/ArcanistLandEngine.php:952XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 24577
Build 33880: Run Core Tests
Build 33879: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jun 8 2020, 11:22 PM
This revision was automatically updated to reflect the committed changes.