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
Unknown Object (File)
Tue, Dec 24, 3:13 AM
Unknown Object (File)
Mon, Dec 16, 4:50 AM
Unknown Object (File)
Thu, Dec 12, 10:55 PM
Unknown Object (File)
Sun, Dec 8, 9:12 AM
Unknown Object (File)
Sat, Dec 7, 5:26 PM
Unknown Object (File)
Sat, Nov 30, 2:05 AM
Unknown Object (File)
Nov 23 2024, 9:24 AM
Unknown Object (File)
Oct 24 2024, 3:24 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