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
Unknown Object (File)
Fri, Jan 3, 6:22 PM
Unknown Object (File)
Thu, Jan 2, 8:06 PM
Unknown Object (File)
Nov 24 2024, 5:45 PM
Unknown Object (File)
Nov 21 2024, 10:45 AM
Unknown Object (File)
Nov 16 2024, 8:38 PM
Unknown Object (File)
Nov 3 2024, 9:11 PM
Unknown Object (File)
Nov 2 2024, 8:58 AM
Unknown Object (File)
Oct 26 2024, 11:10 PM
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