Mercurial > hg-stable
changeset 40738: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 |
files | contrib/perf.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)