[PATCH 1 of 3 main-line-of-work] test-discovery: disable bundle2 for legacy test (issue4610)

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri May 15 08:50:37 UTC 2015


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1429607927 -7200
#      Tue Apr 21 11:18:47 2015 +0200
# Node ID 930772518ce8696a6a287b52d1112426a7eeb92b
# Parent  d1bd0fd07ee6adf4ab3be2b0a0a7c0df54d55abf
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
@@ -1,10 +1,10 @@
 #require killdaemons
 
 Tests discovery against servers without getbundle support:
 
-  $ CAP=getbundle
+  $ CAP="getbundle bundle2"
   $ . "$TESTDIR/notcapable"
   $ cat >> $HGRCPATH <<EOF
   > [ui]
   > logtemplate="{rev} {node|short}: {desc} {branches}\n"
   > EOF


More information about the Mercurial-devel mailing list