# HG changeset patch # User Boris Feld # Date 2018-11-23 00:20:18 # 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 --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -2227,7 +2227,7 @@ def perfbranchmap(ui, repo, *filternames (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)