contrib: explicitly enable perf extension for revset tests
authorOlle Lundberg <geek@nerd.sh>
Tue, 25 Mar 2014 23:10:15 +0100
changeset 20830 44e80bf2688f
parent 20829 9a09a625bc93
child 20831 864c56cb8945
contrib: explicitly enable perf extension for revset tests If a developer doesn't have the perf extension enabled the revset benchmarking will fail. This patch explicitly enables the perf extension when running the tests.
contrib/revsetbenchmarks.sh
--- a/contrib/revsetbenchmarks.sh	Tue Mar 25 16:17:16 2014 -0500
+++ b/contrib/revsetbenchmarks.sh	Tue Mar 25 23:10:15 2014 +0100
@@ -14,8 +14,8 @@
 # to compare performance.
 
 HG="hg update"
-PERF="./hg perfrevset"
-BASE_PERF="hg perfrevset"
+PERF="./hg --config extensions.perf=contrib/perf.py perfrevset"
+BASE_PERF="hg --config extensions.perf=contrib/perf.py perfrevset"
 
 TARGETS=$1
 shift