# HG changeset patch
# User Olle Lundberg <geek@nerd.sh>
# Date 2014-03-25 22:10:15
# Node ID 44e80bf2688f0e8f0734a26a3be1c546a6ac7ca6
# Parent  9a09a625bc93ab69248613abcbea041b785f1a0e

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.

diff --git a/contrib/revsetbenchmarks.sh b/contrib/revsetbenchmarks.sh
--- a/contrib/revsetbenchmarks.sh
+++ b/contrib/revsetbenchmarks.sh
@@ -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