contrib/perf: perfparents handle filtered repos
authortimeless <timeless@mozdev.org>
Tue, 24 Nov 2015 21:36:20 +0000
changeset 27100 8d5dba93aa4f
parent 27099 e94bfebb4f35
child 27101 61fbf5dc12b2
contrib/perf: perfparents handle filtered repos
contrib/perf.py
--- a/contrib/perf.py	Tue Nov 24 20:54:14 2015 +0000
+++ b/contrib/perf.py	Tue Nov 24 21:36:20 2015 +0000
@@ -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: