Show More
@@ -980,9 +980,10 b' def perffncacheload(ui, repo, **opts):' | |||||
980 | def perffncachewrite(ui, repo, **opts): |
|
980 | def perffncachewrite(ui, repo, **opts): | |
981 | timer, fm = gettimer(ui, opts) |
|
981 | timer, fm = gettimer(ui, opts) | |
982 | s = repo.store |
|
982 | s = repo.store | |
|
983 | lock = repo.lock() | |||
983 | s.fncache._load() |
|
984 | s.fncache._load() | |
984 | lock = repo.lock() |
|
|||
985 | tr = repo.transaction('perffncachewrite') |
|
985 | tr = repo.transaction('perffncachewrite') | |
|
986 | tr.addbackup('fncache') | |||
986 | def d(): |
|
987 | def d(): | |
987 | s.fncache._dirty = True |
|
988 | s.fncache._dirty = True | |
988 | s.fncache.write(tr) |
|
989 | s.fncache.write(tr) |
@@ -146,7 +146,11 b' perfstatus' | |||||
146 | #if repofncache |
|
146 | #if repofncache | |
147 | $ hg perffncacheencode |
|
147 | $ hg perffncacheencode | |
148 | $ hg perffncacheload |
|
148 | $ hg perffncacheload | |
|
149 | $ hg debugrebuildfncache | |||
|
150 | fncache already up to date | |||
149 | $ hg perffncachewrite |
|
151 | $ hg perffncachewrite | |
|
152 | $ hg debugrebuildfncache | |||
|
153 | fncache already up to date | |||
150 | #endif |
|
154 | #endif | |
151 | $ hg perfheads |
|
155 | $ hg perfheads | |
152 | $ hg perfindex |
|
156 | $ hg perfindex |
General Comments 0
You need to be logged in to leave comments.
Login now