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)
Feb 14 2024, 5:13 PM
Unknown Object (File)
Feb 7 2024, 8:53 AM
Unknown Object (File)
Feb 1 2024, 3:06 PM
Unknown Object (File)
Jan 28 2024, 4:36 AM
Unknown Object (File)
Jan 28 2024, 4:35 AM
Unknown Object (File)
Jan 28 2024, 4:35 AM
Unknown Object (File)
Jan 19 2024, 3:01 PM
Unknown Object (File)
Jan 19 2024, 3:01 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.