Sapling-like revset navigation #2038
mbStavola
started this conversation in
Show and tell
Replies: 2 comments 3 replies
|
Note that analogues for |
1 reply
|
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. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
One of the things I really enjoyed from Sapling was the ability to just say
sl prevandsl nextto 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-aliasconfig 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:
All reactions