Skip to content
Snippets Groups Projects
Commit f21449c3 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

benchmark: use --template or -T

the short `-T` version got introduced later and is compatible with less
revisions.
parent 09d5bd99
No related branches found
No related tags found
No related merge requests found
......@@ -352,7 +352,7 @@
'log',
'-r',
full_revset,
'-T',
'--template',
match_pattern
]
try:
......@@ -410,7 +410,7 @@
def get_asv_rev(self):
'''Return currently benchmarked mercurial revision'''
return self.hg('log', '--config', 'experimental.evolution=all',
'--cwd', self.project_dir, '-T', '{node|short}',
'--cwd', self.project_dir, '--template', '{node|short}',
'-r', '.').strip()
def check_output(self, *args, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment