Sapling-like revset navigation #2038
Replies: 2 comments 3 replies
-
Note that analogues for |
Beta Was this translation helpful? Give feedback.
-
The 'top` and 'bottom' aliases are neat! I'm guessing you usually [revset-aliases]
'prev' = '@--'
'next' = '@-+~@'
'top' = 'latest(@-:~@:)'
'bottom' = ? # haven't translated this one yet, might update this later. (I've used the first two for a while, I'll start using the I'd love to build these aliases in; I wonder if there's some way to do it so that both workflows are supported. One option is to have two versions of each. However, that's not very elegant, and I can't come up with decent names for these. |
Beta Was this translation helpful? Give feedback.
-
One of the things I really enjoyed from Sapling was the ability to just say
sl prev
andsl next
to move around. I was pretty bummed when I didn't see an equivalent injj
... but then I discovered the awesome power of revsets and the amazingrevset-alias
config option. Now I'm happy as can be 😄Anyway, just thought I'd share for those who were looking for something similar:
Since they're just revsets you can use them in most contexts like so:
Beta Was this translation helpful? Give feedback.
All reactions