##// END OF EJS Templates
contrib/perf: perfparents handle filtered repos
timeless -
r27100:8d5dba93 default
parent child Browse files
Show More
@@ -302,6 +302,7 b' def perfparents(ui, repo, **opts):'
302 timer, fm = gettimer(ui, opts)
302 timer, fm = gettimer(ui, opts)
303 if len(repo.changelog) < 1000:
303 if len(repo.changelog) < 1000:
304 raise error.Abort("repo needs 1000 commits for this test")
304 raise error.Abort("repo needs 1000 commits for this test")
305 repo = repo.unfiltered()
305 nl = [repo.changelog.node(i) for i in xrange(1000)]
306 nl = [repo.changelog.node(i) for i in xrange(1000)]
306 def d():
307 def d():
307 for n in nl:
308 for n in nl:
General Comments 0
You need to be logged in to leave comments. Login now