Page MenuHomePhabricator

Reduce STATUS_CLOSED (now internally "Published") revision status callsites
ClosedPublic

Authored by epriestley on Aug 4 2017, 3:23 PM.
Tags
None
Referenced Files
F21182632: D18341.diff
Sat, Jul 4, 11:57 AM
Unknown Object (File)
Jun 1 2026, 12:43 AM
Unknown Object (File)
Mar 7 2026, 7:12 AM
Unknown Object (File)
Mar 7 2026, 6:28 AM
Unknown Object (File)
Feb 11 2026, 1:54 AM
Unknown Object (File)
Nov 29 2025, 10:19 AM
Unknown Object (File)
Nov 4 2025, 9:56 PM
Unknown Object (File)
Oct 30 2025, 7:07 PM
Subscribers
None

Details

Summary

Ref T2543. Add isPublished() to mean: exactly the status 'closed', which is now interally called 'published', but still shown as 'closed' to users.

We have some callsites which are about "exactly that status", vs "any 'closed' status", e.g. including "abandoned".

This also introduces isChangePlanned(), which felt less awkward than isChangesPlanned() but more consistent than hasChangesPlanned() or isStatusChangesPlanned() or similar.

Test Plan

grep, loaded revisions, requested review.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable