jj
jj copied to clipboard
FR: `--revisions` for `tag list`
Is your feature request related to a problem? Please describe. To see which bookmark a given revision is contained in, you can do
jj bookmark list --revisions 'zzzzzzzz::'
The same would be useful to find tags that contain a given revision.
Describe the solution you'd like
jj tag list --revisions 'zzzzzzzz::'
Describe alternatives you've considered
jj tag list --template "if (normal_target.contained_in(\"zzzzzzzz::\"), ($(jj --ignore-working-copy --quiet config get templates.tag_list)))"
Another variant I just came up with:
jj --config ui.log-synthetic-elided-nodes=false log --revisions 'tags() & zzzzzzzz::tags()' --template 'tags'