diff --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -865,7 +865,9 @@ def perfrevlog(ui, repo, file_=None, sta dist = -1 * dist for x in xrange(beginrev, endrev, dist): - rl.revision(x) + # Old revisions don't support passing int. + n = rl.node(x) + rl.revision(n) timer, fm = gettimer(ui, opts) timer(d)