Skip to content

How can I get the current changeid for scripting purpose? #4049

Answered by jbcdnr
jbcdnr asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for pointing me to--no-graph. Complete solution:

jj log -l 1 --template 'self.change_id()' --no-graph

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@arxanas
Comment options

arxanas Jul 8, 2024
Collaborator

Comment options

You must be logged in to vote
3 replies
@jbcdnr
Comment options

Answer selected by jbcdnr
@martinvonz
Comment options

@ilyagr
Comment options

ilyagr Jul 12, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants