[PATCH 2 of 3 main-line-of-work] test-discovery-legacy: disable bundle2 for legacy test

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri May 15 03:50:38 CDT 2015


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1429610494 -7200
#      Tue Apr 21 12:01:34 2015 +0200
# Node ID bcc22ecb2598a94d73cb7a5ff655735b2a485300
# Parent  930772518ce8696a6a287b52d1112426a7eeb92b
test-discovery-legacy: disable bundle2 for legacy test

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

diff --git a/tests/test-treediscovery-legacy.t b/tests/test-treediscovery-legacy.t
--- a/tests/test-treediscovery-legacy.t
+++ b/tests/test-treediscovery-legacy.t
@@ -6,11 +6,11 @@ Tests discovery against servers without 
   > [ui]
   > logtemplate="{rev} {node|short}: {desc} {branches}\n"
   > EOF
   $ cp $HGRCPATH $HGRCPATH-withcap
 
-  $ CAP="getbundle known changegroupsubset"
+  $ CAP="getbundle known changegroupsubset bundle2"
   $ . "$TESTDIR/notcapable"
   $ cp $HGRCPATH $HGRCPATH-nocap
   $ cp $HGRCPATH-withcap $HGRCPATH
 
 Prep for test server without branchmap support


More information about the Mercurial-devel mailing list