Page MenuHomePhabricator

Fix an issue with "arc nrabch"
ClosedPublic

Authored by epriestley on Sep 15 2015, 4:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 4:40 PM
Unknown Object (File)
Mon, Apr 29, 4:40 PM
Unknown Object (File)
Mon, Apr 29, 4:40 PM
Unknown Object (File)
Mon, Apr 29, 3:52 PM
Unknown Object (File)
Sat, Apr 27, 10:24 PM
Unknown Object (File)
Thu, Apr 25, 4:35 PM
Unknown Object (File)
Wed, Apr 24, 11:48 PM
Unknown Object (File)
Wed, Apr 24, 4:52 AM
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.