jj: use default immutable_heads function

This commit is contained in:
Daniel Lundin 2024-09-01 19:26:10 +02:00
parent b44fd4cd3a
commit 694a5f152c
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -117,7 +117,6 @@ in
"revset-aliases" = {
# Prevent rewriting commits on main@origin and commits authored by other users;
"immutable_heads()" = "main@origin | (main@origin.. & ~mine())";
"user(x)" = "author(x) | committer(x)";
"trunk()" = "latest((present(main) | present(master)) & remote_branches())";
"open" = "(mine() ~ ::trunk()) ~ heads(empty())";