##// END OF EJS Templates
perf: make perfmanifest and perfnodelookup work with revsets...
Martin von Zweigbergk -
r37373:5bcd5859 default
parent child Browse files
Show More
@@ -767,7 +767,7 b' def perfmanifest(ui, repo, rev, **opts):'
767 767 @command('perfchangeset', formatteropts)
768 768 def perfchangeset(ui, repo, rev, **opts):
769 769 timer, fm = gettimer(ui, opts)
770 n = repo[rev].node()
770 n = scmutil.revsingle(repo, rev).node()
771 771 def d():
772 772 repo.changelog.read(n)
773 773 #repo.changelog._cache = None
@@ -853,7 +853,7 b' def perfnodelookup(ui, repo, rev, **opts'
853 853 timer, fm = gettimer(ui, opts)
854 854 import mercurial.revlog
855 855 mercurial.revlog._prereadsize = 2**24 # disable lazy parser in old hg
856 n = repo[rev].node()
856 n = scmutil.revsingle(repo, rev).node()
857 857 cl = mercurial.revlog.revlog(getsvfs(repo), "00changelog.i")
858 858 def d():
859 859 cl.rev(n)
General Comments 0
You need to be logged in to leave comments. Login now