Page MenuHomePhabricator

Fix an issue with "arc nrabch"
ClosedPublic

Authored by epriestley on Sep 15 2015, 4:45 PM.
Tags
None
Referenced Files
F15410000: D14112.diff
Wed, Mar 19, 6:30 AM
F15403100: D14112.id.diff
Tue, Mar 18, 1:55 AM
F15394897: D14112.id.diff
Sun, Mar 16, 2:16 AM
F15379597: D14112.id.diff
Thu, Mar 13, 10:10 PM
F15360231: D14112.id.diff
Tue, Mar 11, 8:10 AM
F15334880: D14112.id.diff
Sat, Mar 8, 12:56 PM
F15308549: D14112.id34103.diff
Thu, Mar 6, 6:24 AM
F15302832: D14112.id.diff
Wed, Mar 5, 10:40 PM
Subscribers
None

Details

Summary

Fixes a minor issue from D14034. PHP doesn't like clone null;, and if you type a nonsense command like arc nbrhch (as I frequently do) we try to clone null here.

Instead, just return null; if no workflow matches. Clone otherwise.

Test Plan
  • Ran arc nbrhcanc
  • Ran arc branch

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix an issue with "arc nrabch".
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, BYK.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 15 2015, 4:47 PM
This revision was automatically updated to reflect the committed changes.