Homestyx hydra
Diffusion hydra 046c1b5b828d

Expose "isDraft" and "holdAsDraft" revision properties over Conduit

Description

Expose "isDraft" and "holdAsDraft" revision properties over Conduit

Summary:
Ref T13195. See PHI861. The "+ Draft" flag is not currently exposed over the API, but seems stable enough to expose.

Also expose the "hold as draft" flag, normally arc diff --draft.

Today, you can get "+ Draft" with some other state by:

  • abandoning a draft revision ("Abandoned + Draft"); or
  • using arc diff --plan-changes with an older arc version ("Changes Planned + Draft").

Test Plan: Called differential.revision.search via Conduit and got sensible-looking results for revisions in various states.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13195

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

Details

Provenance
epriestleyAuthored on Sep 7 2018, 12:42 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:a1ce23b9f557: Introduce an AuditStatus object for commits and move some callsites to it
Branches
Unknown
Tags
Unknown

Event Timeline