We use hg to control the sources for a large project. Whenever we do a release, we tag the version in hg.
Now say I take a specific revision (where I’ve fixed a bug for example). I want to know which releases contain this fix, i.e. which tags “cover” this revision.
How do I find this? In hg tags seem to refer only to the tagged changeset. I remember that in ClearCase every ancestor of the tagged revision would be marked too, is there a way to see this information in hg?
Thanks!
Revsets without any additional extensions can give you something. like
hg log -r "id(hash):tip and tag()"or shorter and nicer (maybe) versionhg log -r "descendants(hash) and tag()"Just and example of shortened revset from my repo with merges after revision in question
And comparing output of two forms of revsets (same output anyway)
descendants()
Direct range definition