comparison tests/test-clonebundles.t @ 27736:7644d3aeedec

clonebundles: remove advertisement of feature I screwed up. When clone bundles is enabled on the server and a compatible client without the feature enabled clones, the server sends down an advertisement saying to enable the feature. The server creates the message which is printed verbatim on the client as an "output" part. There are 2 problems: 1) The message doesn't respect the client's localization 2) The message contains a reference to the "experimental.clonebundles" option. Since clone bundles is about to be marked as non-experimental and the goal of the advertisement was to encourage clients to test the experimental feature, let's just remove the broken advertisement since it no longer serves a purpose.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 08 Jan 2016 10:53:07 -0800
parents 7a678a12a5cf
children 482eb357fe98
comparison
equal deleted inserted replaced
27735:bd37212c20ed 27736:7644d3aeedec
61 61
62 $ touch server/.hg/clonebundles.manifest 62 $ touch server/.hg/clonebundles.manifest
63 $ hg --verbose clone -U http://localhost:$HGPORT empty-manifest 63 $ hg --verbose clone -U http://localhost:$HGPORT empty-manifest
64 no clone bundles available on remote; falling back to regular clone 64 no clone bundles available on remote; falling back to regular clone
65 requesting all changes 65 requesting all changes
66 adding changesets
67 adding manifests
68 adding file changes
69 added 2 changesets with 2 changes to 2 files
70
71 Server advertises presence of feature to client requesting full clone
72
73 $ hg --config experimental.clonebundles=false clone -U http://localhost:$HGPORT advertise-on-clone
74 requesting all changes
75 remote: this server supports the experimental "clone bundles" feature that should enable faster and more reliable cloning
76 remote: help test it by setting the "experimental.clonebundles" config flag to "true"
77 adding changesets 66 adding changesets
78 adding manifests 67 adding manifests
79 adding file changes 68 adding file changes
80 added 2 changesets with 2 changes to 2 files 69 added 2 changesets with 2 changes to 2 files
81 70