Page MenuHomePhabricator

Improve argument parsing for "arc patch --revision Dxxx"
ClosedPublic

Authored by epriestley on Apr 3 2018, 5:50 PM.

Details

Summary

See PHI527. Ref T13116. The --revision flag currently fails if the argument is in the form D123 instead of 123. Normalize monogram arguments.

Test Plan

Ran arc patch --revision Dxxx, arc patch --revision xxx, arc patch --revision xxx --diff yyy, arc patch; got good behavior on the good ones and sensible error messages on the other ones.

Diff Detail

Repository
rARC Arcanist
Branch
patch1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19979
Build 27093: Run Core Tests
Build 27092: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 3 2018, 5:56 PM
This revision was automatically updated to reflect the committed changes.