jj: use default immutable_heads function
This commit is contained in:
parent
b44fd4cd3a
commit
694a5f152c
1 changed files with 0 additions and 1 deletions
|
@ -117,7 +117,6 @@ in
|
||||||
|
|
||||||
"revset-aliases" = {
|
"revset-aliases" = {
|
||||||
# Prevent rewriting commits on main@origin and commits authored by other users;
|
# 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)";
|
"user(x)" = "author(x) | committer(x)";
|
||||||
"trunk()" = "latest((present(main) | present(master)) & remote_branches())";
|
"trunk()" = "latest((present(main) | present(master)) & remote_branches())";
|
||||||
"open" = "(mine() ~ ::trunk()) ~ heads(empty())";
|
"open" = "(mine() ~ ::trunk()) ~ heads(empty())";
|
||||||
|
|
Loading…
Reference in a new issue