Show More
@@ -2244,7 +2244,7 b' def perfbranchmapread(ui, repo, filter=b' | |||||
2244 | repo = repo.unfiltered() |
|
2244 | repo = repo.unfiltered() | |
2245 | # try once without timer, the filter may not be cached |
|
2245 | # try once without timer, the filter may not be cached | |
2246 | if branchmap.read(repo) is None: |
|
2246 | if branchmap.read(repo) is None: | |
2247 | raise error.Abort(b'No brachmap cached for %s repo' |
|
2247 | raise error.Abort(b'No branchmap cached for %s repo' | |
2248 | % (filter or b'unfiltered')) |
|
2248 | % (filter or b'unfiltered')) | |
2249 | timer, fm = gettimer(ui, opts) |
|
2249 | timer, fm = gettimer(ui, opts) | |
2250 | timer(lambda: branchmap.read(repo) and None) |
|
2250 | timer(lambda: branchmap.read(repo) and None) |
General Comments 0
You need to be logged in to leave comments.
Login now