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)
Sat, Dec 21, 3:56 PM
Unknown Object (File)
Sat, Dec 21, 10:49 AM
Unknown Object (File)
Sun, Dec 15, 11:20 AM
Unknown Object (File)
Fri, Dec 13, 1:01 PM
Unknown Object (File)
Mon, Dec 9, 10:49 PM
Unknown Object (File)
Mon, Dec 2, 4:27 PM
Unknown Object (File)
Wed, Nov 27, 3:35 AM
Unknown Object (File)
Wed, Nov 27, 2:07 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.