Page MenuHomePhabricator

Explicitly checking for supported VCS
AbandonedPublic

Authored by joshuaspence on Jan 29 2015, 11:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 6:57 PM
Unknown Object (File)
Wed, May 1, 12:25 AM
Unknown Object (File)
Apr 3 2024, 11:55 AM
Unknown Object (File)
Feb 15 2024, 11:11 PM
Unknown Object (File)
Feb 3 2024, 6:34 PM
Unknown Object (File)
Feb 3 2024, 5:19 PM
Unknown Object (File)
Feb 3 2024, 4:46 PM
Unknown Object (File)
Jan 29 2024, 11:14 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

Instead of having an ArcanistWorkflow explicitly throw an exception when run in an unsupported VCS, consolidate this code and move it to arcanist.php. In doing so, we lose some specificity in some of the error messages, but this otherwise feels cleaner. We could consider adding a getUnsupportedRevisionControlSystemMessage() function to provide a more tailored error message. Depends on D11549

Test Plan

Ran arc bookmark in a git working copy:

Usage Exception: `arc bookmark` is only supported under hg.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4145
Build 4158: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Explicitly checking for supported VCS.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.