# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1429607927 -7200
#      Tue Apr 21 11:18:47 2015 +0200
# Node ID 249c7e922d1af15408126f3f3f34c1b3d500f341
# Parent  5548f558db3d0ef25a50df51d1d4f1edb470491c
test-discovery: disable bundle2 for legacy test (issue4610)

We need to disable the "bundle2" capability to ensure we stay on legacy
capability.

diff --git a/tests/test-treediscovery.t b/tests/test-treediscovery.t
--- a/tests/test-treediscovery.t
+++ b/tests/test-treediscovery.t
@@ -2,7 +2,7 @@
 
 Tests discovery against servers without getbundle support:
 
-  $ CAP=getbundle
+  $ CAP="getbundle bundle2"
   $ . "$TESTDIR/notcapable"
   $ cat >> $HGRCPATH <<EOF
   > [ui]