equal
deleted
inserted
replaced
333 revisions set cache on the revset execution. Volatile cache hold filtered |
333 revisions set cache on the revset execution. Volatile cache hold filtered |
334 and obsolete related cache.""" |
334 and obsolete related cache.""" |
335 def d(): |
335 def d(): |
336 if clear: |
336 if clear: |
337 repo.invalidatevolatilesets() |
337 repo.invalidatevolatilesets() |
338 repo.revs(expr) |
338 for r in repo.revs(expr): pass |
339 timer(d) |
339 timer(d) |
340 |
340 |
341 @command('perfvolatilesets') |
341 @command('perfvolatilesets') |
342 def perfvolatilesets(ui, repo, *names): |
342 def perfvolatilesets(ui, repo, *names): |
343 """benchmark the computation of various volatile set |
343 """benchmark the computation of various volatile set |