# HG changeset patch # User Boris Feld # Date 1542932418 -3600 # Node ID 94d76ddac40a05aa4658303f5b7828d4c1480ad9 # Parent 3c98c339c6ea060ce93a60e44e6be1f91e343f0c perf: update function name to match `perfbranchmapload` command Having function with the same name as the command is simpler. diff -r 3c98c339c6ea -r 94d76ddac40a 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)