##// END OF EJS Templates
perf: simply use repo.store for perffncache* commands...
Adrian Buehlmann -
r17780:769f6686 default
parent child Browse files
Show More
@@ -180,15 +180,13 b' def perfcca(ui, repo):'
180 180 timer(lambda: scmutil.casecollisionauditor(ui, False, repo.dirstate))
181 181
182 182 def perffncacheload(ui, repo):
183 from mercurial import scmutil, store
184 s = store.store(set(['store','fncache']), repo.path, scmutil.opener)
183 s = repo.store
185 184 def d():
186 185 s.fncache._load()
187 186 timer(d)
188 187
189 188 def perffncachewrite(ui, repo):
190 from mercurial import scmutil, store
191 s = store.store(set(['store','fncache']), repo.path, scmutil.opener)
189 s = repo.store
192 190 s.fncache._load()
193 191 def d():
194 192 s.fncache._dirty = True
@@ -196,9 +194,7 b' def perffncachewrite(ui, repo):'
196 194 timer(d)
197 195
198 196 def perffncacheencode(ui, repo):
199 from mercurial import store
200 s = store.store(set(['store','fncache','dotencode']),
201 repo.path, scmutil.opener)
197 s = repo.store
202 198 s.fncache._load()
203 199 def d():
204 200 for p in s.fncache.entries:
General Comments 0
You need to be logged in to leave comments. Login now