Skip to content
Snippets Groups Projects
Commit f21449c3d030 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 09d5bd99f9a7
No related branches found
No related tags found
No related merge requests found
...@@ -352,7 +352,7 @@ ...@@ -352,7 +352,7 @@
'log', 'log',
'-r', '-r',
full_revset, full_revset,
'-T', '--template',
match_pattern match_pattern
] ]
try: try:
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
def get_asv_rev(self): def get_asv_rev(self):
'''Return currently benchmarked mercurial revision''' '''Return currently benchmarked mercurial revision'''
return self.hg('log', '--config', 'experimental.evolution=all', return self.hg('log', '--config', 'experimental.evolution=all',
'--cwd', self.project_dir, '-T', '{node|short}', '--cwd', self.project_dir, '--template', '{node|short}',
'-r', '.').strip() '-r', '.').strip()
def check_output(self, *args, **kwargs): 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