work, Software, computing, General
We tag every release in a MAJOR.MINOR.BUGFIX format. 2.32.2 for example.
Recently I wanted to get a summary of the commit log messages for each of the tagged revisions. Here is the magic command that got me the output that I wanted:
# get all log entries for releases tagged with a 2.31 MAJOR.MINOR hg tags | grep 2\.31 | cut -c33-36 | xargs -L1 hg log -r