diff contrib/perf.py @ 40699:94d76ddac40a

perf: update function name to match `perfbranchmapload` command Having function with the same name as the command is simpler.
author Boris Feld <boris.feld@octobus.net>
date Fri, 23 Nov 2018 01:20:18 +0100
parents 3c98c339c6ea
children 30f443d34a7d
line wrap: on
line diff
--- a/contrib/perf.py	Wed Nov 21 11:46:47 2018 +0000
+++ b/contrib/perf.py	Fri Nov 23 01:20:18 2018 +0100
@@ -2227,7 +2227,7 @@
      (b'f', b'filter', b'', b'Specify repoview filter'),
      (b'', b'list', False, b'List brachmap filter caches'),
     ] + formatteropts)
-def perfbranchmapread(ui, repo, filter=b'', list=False, **opts):
+def perfbranchmapload(ui, repo, filter=b'', list=False, **opts):
     """benchmark reading the branchmap"""
     opts = _byteskwargs(opts)