Show More
@@ -1021,10 +1021,10 b' def perfindex(ui, repo, **opts):' | |||||
1021 | opts = _byteskwargs(opts) |
|
1021 | opts = _byteskwargs(opts) | |
1022 | timer, fm = gettimer(ui, opts) |
|
1022 | timer, fm = gettimer(ui, opts) | |
1023 | mercurial.revlog._prereadsize = 2**24 # disable lazy parser in old hg |
|
1023 | mercurial.revlog._prereadsize = 2**24 # disable lazy parser in old hg | |
1024 | if opts['rev'] is None: |
|
1024 | if opts[b'rev'] is None: | |
1025 | n = repo[b"tip"].node() |
|
1025 | n = repo[b"tip"].node() | |
1026 | else: |
|
1026 | else: | |
1027 | rev = scmutil.revsingle(repo, opts['rev']) |
|
1027 | rev = scmutil.revsingle(repo, opts[b'rev']) | |
1028 | n = repo[rev].node() |
|
1028 | n = repo[rev].node() | |
1029 |
|
1029 | |||
1030 | unfi = repo.unfiltered() |
|
1030 | unfi = repo.unfiltered() |
General Comments 0
You need to be logged in to leave comments.
Login now