Skip to content

Templating with multiple revisions #3075

Answered by yuja
stouset asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a way to apply a template function like join() between revisions?

No, there isn't right now.

Mercurial has revset() template function, and it could be used conceptually as log -r@ -T 'revset("$1-::$1", commit_id).map(|c| c.change_id().shortest()).join(", ")'. Maybe jj can have something like that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stouset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants