changeset 25374:c2d691542d6a

test: lock test-unbundlehash to bundle1 usage It is testing a bundle1 specific behavior. Bundle2 has its own way there. See inline comment for details.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 27 May 2015 04:39:24 -0700
parents 9793e52279a1
children b08887e723a9
files tests/test-unbundlehash.t
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-unbundlehash.t	Wed May 27 06:42:42 2015 -0700
+++ b/tests/test-unbundlehash.t	Wed May 27 04:39:24 2015 -0700
@@ -2,6 +2,14 @@
 
 Test wire protocol unbundle with hashed heads (capability: unbundlehash)
 
+  $ cat << EOF >> $HGRCPATH
+  > [experimental]
+  > # This tests is intended for bundle1 only.
+  > # bundle2 carries the head information inside the bundle itself and
+  > # always uses 'force' as the heads value.
+  > bundle2-exp = False
+  > EOF
+
 Create a remote repository.
 
   $ hg init remote