1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 18:47:44 +00:00

feat: update jj tug alias

This commit is contained in:
RGBCube 2025-05-14 22:11:07 +03:00
parent 76aadcddbc
commit 5584412695
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -49,9 +49,10 @@ in {
aliases.d = [ "diff" ];
aliases.l = [ "log" ];
aliases.tug = [ "bookmark" "move" "--from" "closest_bookmark(@-)" "--to" "@-" ];
aliases.tug = [ "bookmark" "move" "--from" "closest(@-)" "--to" "closest_pushable(@)" ];
revset-aliases."closest_bookmark(to)" = "heads(::to & bookmarks())";
revset-aliases."closest(to)" = "heads(::to & bookmarks())";
revset-aliases."closest_pushable(to)" = "heads(::to & mutable() & ~description(exact:\"\") & (~empty() | merges()))";
revsets.log = "present(@) | present(trunk()) | ancestors(remote_bookmarks().., 2) | reachable(@, all())";