perf: explicitly pass title as a keyword argument in `perfdiffwd`
authorBoris Feld <boris.feld@octobus.net>
Mon, 19 Nov 2018 23:02:29 +0000
changeset 40679 20d2fd6036ed
parent 40678 c72a81bc2e82
child 40680 9d88ae5c635b
perf: explicitly pass title as a keyword argument in `perfdiffwd` This will help to update the timer function arguments in a later changeset.
contrib/perf.py
--- 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,