changeset 27100:8d5dba93aa4f

contrib/perf: perfparents handle filtered repos
author timeless <timeless@mozdev.org>
date Tue, 24 Nov 2015 21:36:20 +0000
parents e94bfebb4f35
children 61fbf5dc12b2
files contrib/perf.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: