]> khamidou — GitHub mirrors - arcanist.git/commit
Arcanist / Conduit - stop using deprecated diffusion.getcommits
authorBob Trahan <btrahan@phacility.com>
Tue, 3 Feb 2015 22:33:06 +0000 (14:33 -0800)
committerBob Trahan <btrahan@phacility.com>
Tue, 3 Feb 2015 22:33:06 +0000 (14:33 -0800)
commit5c20df18187557e94e7645a829d5094f744ebef3
tree2a472d8b2c92ac8f9abe2aacb18b112a9fa5a861
parentd98c1049910d265a588d27f453e586449385811d
Arcanist / Conduit - stop using deprecated diffusion.getcommits

Summary: Fixes T7113. This one was a bit trickier than others as the API output changed a bit. In particular, there is no "errors" emitted so much as the result set just doesn't include the answer if things are garbage. Ergo, check the "identifier map" to either check for diff existence or to lookup the phid to grab the actual diff data from the "data" part of the result.

Test Plan: called `arc backout D11665` and got some working output...!

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7113

Differential Revision: https://secure.phabricator.com/D11667
src/workflow/ArcanistBackoutWorkflow.php
src/workflow/ArcanistWorkflow.php