Page MenuHomePhabricator

When a revision is closed, always promote it out of draft
ClosedPublic

Authored by epriestley on May 31 2019, 1:18 PM.
Tags
None
Referenced Files
F13176951: D20565.id49058.diff
Wed, May 8, 6:17 PM
Unknown Object (File)
Fri, May 3, 8:29 PM
Unknown Object (File)
Thu, May 2, 1:17 PM
Unknown Object (File)
Apr 19 2024, 8:26 PM
Unknown Object (File)
Apr 19 2024, 1:21 AM
Unknown Object (File)
Apr 18 2024, 7:19 AM
Unknown Object (File)
Apr 14 2024, 11:55 AM
Unknown Object (File)
Apr 6 2024, 7:57 AM
Subscribers
None

Details

Summary

Fixes T13300. Currently, if you create a revision and then immediately land it (either using --draft or just beating Harbormaster to the punch) it can be stuck in "Draft" forever.

Instead, count landing changes like this as a publishing action.

Test Plan
  • Used arc diff --hold to create a revision, then pushed the commit immediately.
  • Before change: revision closed, but was stuck in draft.
  • After change: revision closed and was promoted out of draft.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable