# HG changeset patch # User Pierre-Yves David # Date 2015-05-27 11:39:24 # 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 --git a/tests/test-unbundlehash.t b/tests/test-unbundlehash.t --- a/tests/test-unbundlehash.t +++ b/tests/test-unbundlehash.t @@ -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