Show More
@@ -2202,11 +2202,15 b' def perf_stream_clone_consume(ui, repo, ' | |||
|
2202 | 2202 | def runone(): |
|
2203 | 2203 | bundle = run_variables[0] |
|
2204 | 2204 | tmp_dir = run_variables[1] |
|
2205 | ||
|
2206 | # we actually wants to copy all config to ensure the repo config is | |
|
2207 | # taken in account during the benchmark | |
|
2208 | new_ui = repo.ui.__class__(repo.ui) | |
|
2205 | 2209 | # only pass ui when no srcrepo |
|
2206 | 2210 | localrepo.createrepository( |
|
2207 |
|
|
|
2211 | new_ui, tmp_dir, requirements=repo.requirements | |
|
2208 | 2212 | ) |
|
2209 |
target = hg.repository( |
|
|
2213 | target = hg.repository(new_ui, tmp_dir) | |
|
2210 | 2214 | gen = exchange.readbundle(target.ui, bundle, bundle.name) |
|
2211 | 2215 | # stream v1 |
|
2212 | 2216 | if util.safehasattr(gen, 'apply'): |
General Comments 0
You need to be logged in to leave comments.
Login now