# HG changeset patch # User Pierre-Yves David # Date 1432726764 25200 # Node ID c2d691542d6a610d6b233cbbe3b4551dab033fd9 # Parent 9793e52279a194f15a6aefd5d5270390f04df6ae 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. diff -r 9793e52279a1 -r c2d691542d6a tests/test-unbundlehash.t --- 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