--- a/mercurial/help/templates.txt Mon Aug 24 23:07:00 2015 -0400
+++ b/mercurial/help/templates.txt Sun Aug 23 23:44:58 2015 -0400
@@ -102,6 +102,10 @@
$ hg log --template "{bookmarks % '{bookmark}{ifeq(bookmark, active, '*')} '}\n"
+- Find the previous release candidate tag, the distance and changes since the tag::
+
+ $ hg log -r . --template "{latesttag('re:^.*-rc$') % '{tag}, {changes}, {distance}'}\n"
+
- Mark the working copy parent with '@'::
$ hg log --template "{ifcontains(rev, revset('.'), '@')}\n"