perf: add two more missing b prefixes for Python 3
# skip-blame just two more b prefixes
Differential Revision: https://phab.mercurial-scm.org/D5425
--- a/contrib/perf.py Fri Dec 14 11:37:50 2018 -0500
+++ b/contrib/perf.py Fri Dec 14 12:00:38 2018 -0500
@@ -1021,10 +1021,10 @@
opts = _byteskwargs(opts)
timer, fm = gettimer(ui, opts)
mercurial.revlog._prereadsize = 2**24 # disable lazy parser in old hg
- if opts['rev'] is None:
+ if opts[b'rev'] is None:
n = repo[b"tip"].node()
else:
- rev = scmutil.revsingle(repo, opts['rev'])
+ rev = scmutil.revsingle(repo, opts[b'rev'])
n = repo[rev].node()
unfi = repo.unfiltered()