From ea9331333596dc5788374ed0f5eb3fe0a5e96a15 Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Sun, 4 Jan 2026 09:35:33 +0000 Subject: [PATCH] feat(pm/jujutsu): add trunk() to main revset Change-Id: nyopnswnlyuvuttuuzuprnuqplrumzss There are some repositories where there's no "main" or "master" branch. In this case, it would be nice to use "truck" as the main branch --- packetmix/homes/development/jujutsu.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packetmix/homes/development/jujutsu.nix b/packetmix/homes/development/jujutsu.nix index 4ff2abb1..c3bfd53d 100644 --- a/packetmix/homes/development/jujutsu.nix +++ b/packetmix/homes/development/jujutsu.nix @@ -369,7 +369,7 @@ "closest_bookmark(to)" = "heads(::to & bookmarks())"; "closest_pushable_allow_empty_desc(to)" = "heads(::to & mutable() & (~empty() | merges()))"; - "main" = "coalesce(bookmarks(exact:'main'), bookmarks(exact:'master'))"; + "main" = "coalesce(bookmarks(exact:'main'), bookmarks(exact:'master'), trunk())"; "series(tip, length)" = "back(tip, length)::tip"; }; -- 2.43.0