Homec4science

Drive CLI-based revision edits through "differential.revision.edit" API +…

Authored by epriestley <git@epriestley.com> on Dec 16 2016, 13:45.

Description

Drive CLI-based revision edits through "differential.revision.edit" API + EditEngine

Summary:
Ref T11114. This creates differential.revision.edit (a modern, v3 API method) and redefines the existing methods in terms of it.

Both differential.createrevision and differential.updaterevision are now internally implemented by building a differential.revision.edit API call and then executing it.

I think this covers everything except custom fields, which need some tweaking to work with EditEngine. I'll clean that up in the next change.

Test Plan:

  • Created, updated, and edited revisions via arc.
  • Called APIs manually via test console.
  • Stored custom fields ("Blame Rev", "Revert Plan") aren't exposed yet.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11114

Differential Revision: https://secure.phabricator.com/D17067

Details

Committed
epriestley <git@epriestley.com>Dec 16 2016, 19:08
Pushed
aubortJan 31 2017, 17:16
Parents
rPH24926f9453e5: Move Differential commit message rendering to dedicated classes
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH64509dcca7be: Drive CLI-based revision edits through "differential.revision.edit" API +… (authored by epriestley <git@epriestley.com>).Dec 16 2016, 19:08