# HG changeset patch # User Pierre-Yves David # Date 2021-01-13 16:21:51 # Node ID cdbde70ea705d28876edfc737c27c6b28a2649a7 # Parent f5d7df7262ece6470f9cabfff54fc4968b3a5b94 perf: don't turn byte to string when formatting perfbranchmap I am not sure why this `str` all is there is the first place. Differential Revision: https://phab.mercurial-scm.org/D9751 diff --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -3484,7 +3484,7 @@ def perfbranchmap(ui, repo, *filternames printname = name if name is None: printname = b'unfiltered' - timer(getbranchmap(name), title=str(printname)) + timer(getbranchmap(name), title=printname) finally: branchcacheread.restore() branchcachewrite.restore()