[PATCH 02 of 13] perf: update function name to match `perfbranchmapload` command
Boris Feld
boris.feld at octobus.net
Fri Nov 23 09:08:58 EST 2018
# HG changeset patch
# User Boris Feld <boris.feld at 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)
More information about the Mercurial-devel
mailing list