Mercurial > public > mercurial-scm > hg-stable
diff contrib/perf.py @ 40718:20d2fd6036ed
perf: explicitly pass title as a keyword argument in `perfdiffwd`
This will help to update the timer function arguments in a later changeset.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 19 Nov 2018 23:02:29 +0000 |
parents | 4756a33d0d31 |
children | 9d88ae5c635b |
line wrap: on
line diff
--- a/contrib/perf.py Sun Nov 11 17:59:23 2018 +0900 +++ b/contrib/perf.py Mon Nov 19 23:02:29 2018 +0000 @@ -1404,7 +1404,7 @@ ui.popbuffer() diffopt = diffopt.encode('ascii') title = b'diffopts: %s' % (diffopt and (b'-' + diffopt) or b'none') - timer(d, title) + timer(d, title=title) fm.end() @command(b'perfrevlogindex', revlogopts + formatteropts,