feat(pm/jujutsu): add trunk() to main revset #147

merged
opened by a.starrysky.fyi targeting main from private/minion/push-nyopnswnlyuv

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

Changed files
+1 -1
packetmix
homes
development
+1 -1
packetmix/homes/development/jujutsu.nix
··· 369 "closest_bookmark(to)" = "heads(::to & bookmarks())"; 370 "closest_pushable_allow_empty_desc(to)" = "heads(::to & mutable() & (~empty() | merges()))"; 371 372 - "main" = "coalesce(bookmarks(exact:'main'), bookmarks(exact:'master'))"; 373 374 "series(tip, length)" = "back(tip, length)::tip"; 375 };
··· 369 "closest_bookmark(to)" = "heads(::to & bookmarks())"; 370 "closest_pushable_allow_empty_desc(to)" = "heads(::to & mutable() & (~empty() | merges()))"; 371 372 + "main" = "coalesce(bookmarks(exact:'main'), bookmarks(exact:'master'), trunk())"; 373 374 "series(tip, length)" = "back(tip, length)::tip"; 375 };