# HG changeset patch # User Pierre-Yves David # Date 1433982837 25200 # Node ID 59cdf631388b4ab73cefda2c4c74735178a2d936 # Parent 34d8d4930c88598afcc9e0b0a4011c19c642eefe revsetbenchmarks: also display tag when printing a revision This is usually more useful information than the commit message. diff -r 34d8d4930c88 -r 59cdf631388b contrib/revsetbenchmarks.py --- 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):