##// END OF EJS Templates
perfmanifest: allow and require passing in a rev...
Siddharth Agarwal -
r19712:79e5de2b default
parent child Browse files
Show More
@@ -171,10 +171,11 b' def perfpathcopies(ui, repo, rev1, rev2)'
171 copies.pathcopies(ctx1, ctx2)
171 copies.pathcopies(ctx1, ctx2)
172 timer(d)
172 timer(d)
173
173
174 @command('perfmanifest')
174 @command('perfmanifest', [], 'REV')
175 def perfmanifest(ui, repo):
175 def perfmanifest(ui, repo, rev):
176 ctx = scmutil.revsingle(repo, rev, rev)
177 t = ctx.manifestnode()
176 def d():
178 def d():
177 t = repo.manifest.tip()
178 repo.manifest._mancache.clear()
179 repo.manifest._mancache.clear()
179 repo.manifest._cache = None
180 repo.manifest._cache = None
180 repo.manifest.read(t)
181 repo.manifest.read(t)
General Comments 0
You need to be logged in to leave comments. Login now