changeset 25546:59cdf631388b

revsetbenchmarks: also display tag when printing a revision This is usually more useful information than the commit message.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 10 Jun 2015 17:33:57 -0700
parents 34d8d4930c88
children 99a1f73af85b
files contrib/revsetbenchmarks.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/revsetbenchmarks.py	Mon Oct 27 13:40:12 2014 +0100
+++ b/contrib/revsetbenchmarks.py	Wed Jun 10 17:33:57 2015 -0700
@@ -90,6 +90,7 @@
     sys.stdout.write("Revision ")
     sys.stdout.flush()
     check_call(['hg', 'log', '--rev', str(rev), '--template',
+                '{if(tags, " ({tags})")} '
                 '{rev}:{node|short}: {desc|firstline}\n'])
 
 def idxwidth(nbidx):