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

login
register
mail settings
Submitter Pierre-Yves David
Date May 15, 2015, 8:50 a.m.
Message ID <bcc22ecb2598a94d73cb.1431679838@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/9089/
State Accepted
Headers show

Comments

Pierre-Yves David - May 15, 2015, 8:50 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@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.

Patch

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