update jujutsu config

This commit is contained in:
gwg313 2026-04-24 01:13:55 -04:00
parent d10a8baa5d
commit 1abefd242c
Signed by: gwg313
GPG key ID: 60FF63B4826B7400

View file

@ -16,7 +16,39 @@
behavior = "own"; behavior = "own";
backend = "gpg"; backend = "gpg";
}; };
revset-aliases = {
"closest_merge(to)" = "heads(::to & merges())";
};
aliases = { aliases = {
set-trunk = [
"config"
"set"
"--repo"
"revset-aliases.'trunk()'"
];
stack = [
"rebase"
"--after"
"trunk()"
"--before"
"closest_merge(@)"
"--revision"
];
stage = [
"stack"
"closest_merge(@)+:: ~ empty()"
];
restack = [
"rebase"
"--onto"
"trunk()"
"--source"
"roots(trunk()..) & mutable()"
"--simplify-parents"
];
c = [ "commit" ]; c = [ "commit" ];
ci = [ ci = [
"commit" "commit"