changeset 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 c72a81bc2e82
children 9d88ae5c635b
files contrib/perf.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,