I working on a release so I need to specify a list of checked in tasks between two revisions of a branch.
This would work on the default branch hg log -r x:y
But I am not on the default branch, and I cannot find the syntax for specify a branch AND query for checked in between two revisions with hg log.
I think I am missing the obvious here but I don't know where.
Use revsets, e.g. like so:
hg log -r "x:y and branch('mybranch')"
This should list all commits (numerically) between x and y that are also colored 'mybranch'.
If you prefer topological range (this is what most people understand with the term "branch") instead of simple numerical range, use '::' instead of ':', but check for order of x and y ( x < y ).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With