Patchwork [01,of,13] perf: fix a minor typo in perfbranchmapload

login
register
mail settings
Submitter Boris Feld
Date Nov. 23, 2018, 2:08 p.m.
Message ID <7fd3c1f11ea10875fe81.1542982137@localhost.localdomain>
Download mbox | patch
Permalink /patch/36730/
State Accepted
Headers show

Comments

Boris Feld - Nov. 23, 2018, 2:08 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@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

Patch

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)