# HG changeset patch # User Boris Feld <boris.f...@octobus.net> # Date 1542932418 -3600 # Fri Nov 23 01:20:18 2018 +0100 # Node ID 9f29b499e0adb22a3fd23f8e88ea281d1073aa3f # Parent 7fd3c1f11ea10875fe81828c4298e1b2bd79c9fd # EXP-Topic perf-branchmap # Available At https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 9f29b499e0ad 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 @@ -2179,7 +2179,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) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel