# HG changeset patch # User Boris Feld <boris.f...@octobus.net> # Date 1542800807 0 # Wed Nov 21 11:46:47 2018 +0000 # Node ID 7fd3c1f11ea10875fe81828c4298e1b2bd79c9fd # Parent d7936a9dad471d0bfe99c5ddf873fa566df6e28b # EXP-Topic perf-branchmap # Available At https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 7fd3c1f11ea1 perf: fix a minor typo in perfbranchmapload
diff --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -2196,7 +2196,7 @@ def perfbranchmapread(ui, repo, filter=b repo = repo.unfiltered() # try once without timer, the filter may not be cached if branchmap.read(repo) is None: - raise error.Abort(b'No brachmap cached for %s repo' + raise error.Abort(b'No branchmap cached for %s repo' % (filter or b'unfiltered')) timer, fm = gettimer(ui, opts) timer(lambda: branchmap.read(repo) and None) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel