hgserver: remove test for clone bundles advertisement (bug 1228088); r=dminor draft
authorGregory Szorc <gps@mozilla.com>
Tue, 01 Mar 2016 13:53:34 -0800
changeset 7415 566b3ead890614e5f4b56f4fe175161c2e75edd9
parent 7414 60082b3292518425ef3c7875c0cc692b376ccbee
child 7416 3ed6d35823834ee8d3e4190d7d30a13cc5a6db86
push id675
push usergszorc@mozilla.com
push dateWed, 02 Mar 2016 22:08:21 +0000
reviewersdminor
bugs1228088
hgserver: remove test for clone bundles advertisement (bug 1228088); r=dminor Mercurial 3.7 removed the clone bundles server-side advertisement. So let's stop testing that it appears. MozReview-Commit-ID: 4Pax5TSxAZY
hgserver/tests/test-clonebundles.t
--- a/hgserver/tests/test-clonebundles.t
+++ b/hgserver/tests/test-clonebundles.t
@@ -15,42 +15,17 @@ Create and seed repository
   $ hg -q commit -A -m initial
   $ hg push > /dev/null
   $ cd ..
 
 Create a clonebundles manifest
 
   $ hgmo exec hgssh sudo -u hg /repo/hg/venv_tools/bin/python /repo/hg/version-control-tools/scripts/generate-hg-s3-bundles --no-upload mozilla-central &> /dev/null
 
-Cloning with a client that supports clonebundles should advertise the
-feature
-
-#if hg36+
-
-  $ hg clone -U ${HGWEB_0_URL}mozilla-central clonebundles-advertise
-  requesting all changes
-  remote: this server supports the experimental "clone bundles" feature that should enable faster and more reliable cloning
-  remote: help test it by setting the "experimental.clonebundles" config flag to "true"
-  adding changesets
-  adding manifests
-  adding file changes
-  added 1 changesets with 1 changes to 1 files
-
-#else
-
-  $ hg clone -U ${HGWEB_0_URL}mozilla-central clonebundles-no-support
-  requesting all changes
-  adding changesets
-  adding manifests
-  adding file changes
-  added 1 changesets with 1 changes to 1 files
-
-#endif
-
-We shouldn't see the message if we attempted to use clonebundles
+Cloning will fetch bundle
 
 #if hg36+
 
   $ hg --config experimental.clonebundles=true --config ui.clonebundlefallback=true clone -U ${HGWEB_0_URL}mozilla-central clonebundles-no-advertise
   applying clone bundle from https://hg.cdn.mozilla.net/mozilla-central/77538e1ce4bec5f7aac58a7ceca2da0e38e90a72.gzip.hg
   HTTP error fetching bundle: HTTP Error 403: Forbidden
   falling back to normal clone
   requesting all changes