tests/test-clonebundles.t
changeset 26691 23c0da28c034
parent 26688 7394536338bb
child 26732 69ac9aebbc55
--- a/tests/test-clonebundles.t	Wed Oct 14 10:36:20 2015 -0700
+++ b/tests/test-clonebundles.t	Wed Oct 14 11:05:53 2015 -0700
@@ -64,6 +64,17 @@
   adding file changes
   added 2 changesets with 2 changes to 2 files
 
+Server advertises presence of feature to client requesting full clone
+
+  $ hg --config experimental.clonebundles=false clone -U http://localhost:$HGPORT advertise-on-clone
+  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 2 changesets with 2 changes to 2 files
+
 Manifest file with invalid URL aborts
 
   $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest