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

benchmark: don't use `safe_hg` in _perf

We don't want error to silently pass, revision should either be silently
skipped or work.
parent d7a48530
No related branches found
No related tags found
No related merge requests found
......@@ -530,9 +530,12 @@
perfpath = self._getperfext(perfextversion)
kwargs.setdefault('stderr', subprocess.STDOUT)
try:
return self.safe_hg(
[command, '--config', 'extensions.perf={0}'.format(perfpath)],
*args, **kwargs)
return self.hg(
command,
'--config',
'extensions.perf={0}'.format(perfpath),
*args,
**kwargs)
except SkipResult:
# command does not exist for this version of perf.py
# return NaN which is a "n/a" status for asv
......
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