Show More
@@ -406,10 +406,13 b' def perffncachewrite(ui, repo, **opts):' | |||||
406 | timer, fm = gettimer(ui, opts) |
|
406 | timer, fm = gettimer(ui, opts) | |
407 | s = repo.store |
|
407 | s = repo.store | |
408 | s.fncache._load() |
|
408 | s.fncache._load() | |
|
409 | lock = repo.lock() | |||
|
410 | tr = repo.transaction('perffncachewrite') | |||
409 | def d(): |
|
411 | def d(): | |
410 | s.fncache._dirty = True |
|
412 | s.fncache._dirty = True | |
411 | s.fncache.write() |
|
413 | s.fncache.write(tr) | |
412 | timer(d) |
|
414 | timer(d) | |
|
415 | lock.release() | |||
413 | fm.end() |
|
416 | fm.end() | |
414 |
|
417 | |||
415 | @command('perffncacheencode', formatteropts) |
|
418 | @command('perffncacheencode', formatteropts) |
General Comments 0
You need to be logged in to leave comments.
Login now