Page MenuHomePhabricator

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

Authored by epriestley on Sep 7 2018, 4:53 PM.
Tags
None
Referenced Files
F15469707: D19648.diff
Fri, Apr 4, 3:48 PM
F15466049: D19648.id46958.diff
Thu, Apr 3, 1:02 AM
F15457017: D19648.diff
Sun, Mar 30, 1:43 PM
F15436176: D19648.id.diff
Tue, Mar 25, 12:24 PM
F15431133: D19648.diff
Mar 24 2025, 10:43 AM
Unknown Object (File)
Feb 22 2025, 2:34 AM
Unknown Object (File)
Feb 19 2025, 11:33 PM
Unknown Object (File)
Feb 9 2025, 6:27 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable