Mercurial > hg
changeset 40948:a314eafd7c8d
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
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 14 Dec 2018 12:00:38 -0500 |
parents | 9e462fb88f79 |
children | f732889abe0e |
files | contrib/perf.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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()