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
Unknown Object (File)
Wed, Dec 11, 10:07 PM
Unknown Object (File)
Mon, Dec 9, 3:59 PM
Unknown Object (File)
Sun, Dec 8, 11:03 PM
Unknown Object (File)
Wed, Dec 4, 7:35 AM
Unknown Object (File)
Sun, Nov 24, 5:50 PM
Unknown Object (File)
Nov 21 2024, 3:43 AM
Unknown Object (File)
Nov 17 2024, 8:29 AM
Unknown Object (File)
Nov 7 2024, 11:21 AM
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