Commit 8d5dba93 authored by timeless's avatar timeless
Browse files

contrib/perf: perfparents handle filtered repos

parent e94bfebb4f35
......@@ -302,6 +302,7 @@
timer, fm = gettimer(ui, opts)
if len(repo.changelog) < 1000:
raise error.Abort("repo needs 1000 commits for this test")
repo = repo.unfiltered()
nl = [repo.changelog.node(i) for i in xrange(1000)]
def d():
for n in nl:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment