Page MenuHomePhabricator

Rename "IMPORTED_CLOSEABLE" to "IMPORTED_PERMANENT" to clarify the meaning of the flag
ClosedPublic

Authored by epriestley on Jan 22 2021, 9:41 PM.
Tags
None
Referenced Files
F18852269: D21514.diff
Fri, Oct 31, 7:45 AM
F18850562: D21514.id.diff
Thu, Oct 30, 5:49 PM
F18804069: D21514.id.diff
Sat, Oct 18, 5:46 AM
F18799369: D21514.diff
Fri, Oct 17, 1:31 PM
F18734372: D21514.id.diff
Sep 30 2025, 10:52 PM
F18658044: D21514.diff
Sep 23 2025, 4:33 AM
F18650713: D21514.id51208.diff
Sep 21 2025, 1:29 AM
F18598789: D21514.id.diff
Sep 13 2025, 5:53 AM
Subscribers
None

Details

Summary

Ref T13591. This is an old flag with an old name, and there's an import bug because the outdated concept of "closable" is confusing two different behaviors.

This flag should mean only "is this commit reachable from a permanent ref?". Rename it to "IMPORTED_PERMANENT" to make that more clear.

Rename the "Unpublished" query to "Permanent" to make that more clear, as well.

Test Plan
  • Grepped for all affected symbols.
  • Queried for all commmits, permament commits, and impermanent commits.
  • Ran repository discovery.
  • See also further changes in this change series for more extensive tests.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable