test-clonebundles.t: add test for incremental pull
This demonstrates issue4932.
--- a/tests/test-clonebundles.t Tue Nov 03 22:44:57 2015 +0900
+++ b/tests/test-clonebundles.t Tue Nov 03 12:15:14 2015 -0800
@@ -156,6 +156,31 @@
adding file changes
added 1 changesets with 1 changes to 1 files
+Incremental pull doesn't fetch bundle
+
+ $ hg clone -r 53245c60e682 -U http://localhost:$HGPORT partial-clone
+ adding changesets
+ adding manifests
+ adding file changes
+ added 1 changesets with 1 changes to 1 files
+
+ $ cd partial-clone
+ $ hg pull
+ pulling from http://localhost:$HGPORT/
+ applying clone bundle from http://localhost:$HGPORT1/partial.hg
+ adding changesets
+ adding manifests
+ adding file changes
+ added 0 changesets with 0 changes to 1 files
+ finished applying clone bundle
+ searching for changes
+ adding changesets
+ adding manifests
+ adding file changes
+ added 1 changesets with 1 changes to 1 files
+ (run 'hg update' to get a working copy)
+ $ cd ..
+
Bundle with full content works
$ hg -R server bundle --type gzip-v2 --base null -r tip full.hg