Skip to content

Commit 869da38

Browse files
jgreitemannthoughtpolice
authored andcommitted
config-schema: fix schema default for revset-aliases."immutable_heads()"
The default value became definitely outdated when "branches" were renamed to "bookmarks" in 0.20 (and broke in 0.28). The actual default of `revset-aliases."immutable_heads()"` is in fact `builtin_immutable_heads()`, now. However, if one were to want override to default `immutable_heads()`, `builtin_immutable_heads()` would likely not be a helpful starting point. Therefore, it may make sense to keep this "resolved" default value in the schema.
1 parent 60d42d7 commit 869da38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/config-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@
590590
"immutable_heads()": {
591591
"type": "string",
592592
"description": "Revisions to consider immutable. Ancestors of these are also considered immutable. The root commit is always considered immutable.",
593-
"default": "present(trunk()) | tags() | untracked_remote_branches()"
593+
"default": "present(trunk()) | tags() | untracked_remote_bookmarks()"
594594
}
595595
},
596596
"additionalProperties": {

0 commit comments

Comments
 (0)