Mercurial > hg-stable
changeset 40737:3c98c339c6ea
perf: fix a minor typo in perfbranchmapload
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 21 Nov 2018 11:46:47 +0000 |
parents | d98fb3f42f33 |
children | 94d76ddac40a |
files | contrib/perf.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/perf.py Wed Oct 10 00:50:37 2018 +0200 +++ b/contrib/perf.py Wed Nov 21 11:46:47 2018 +0000 @@ -2244,7 +2244,7 @@ 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)