Show More
@@ -235,6 +235,7 b' revlogopts = getattr(' | |||
|
235 | 235 | |
|
236 | 236 | cmdtable = {} |
|
237 | 237 | |
|
238 | ||
|
238 | 239 | # for "historical portability": |
|
239 | 240 | # define parsealiases locally, because cmdutil.parsealiases has been |
|
240 | 241 | # available since 1.5 (or 6252852b4332) |
@@ -573,7 +574,6 b' def _timer(' | |||
|
573 | 574 | |
|
574 | 575 | |
|
575 | 576 | def formatone(fm, timings, title=None, result=None, displayall=False): |
|
576 | ||
|
577 | 577 | count = len(timings) |
|
578 | 578 | |
|
579 | 579 | fm.startitem() |
@@ -1474,6 +1474,7 b' def perfdirstatewrite(ui, repo, **opts):' | |||
|
1474 | 1474 | def d(): |
|
1475 | 1475 | ds.write(repo.currenttransaction()) |
|
1476 | 1476 | |
|
1477 | with repo.wlock(): | |
|
1477 | 1478 | timer(d, setup=setup) |
|
1478 | 1479 | fm.end() |
|
1479 | 1480 |
General Comments 0
You need to be logged in to leave comments.
Login now