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