perf: update function name to match `perfbranchmapload` command
authorBoris Feld <boris.feld@octobus.net>
Fri, 23 Nov 2018 01:20:18 +0100
changeset 40738 94d76ddac40a
parent 40737 3c98c339c6ea
child 40739 30f443d34a7d
perf: update function name to match `perfbranchmapload` command Having function with the same name as the command is simpler.
contrib/perf.py
--- 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)