Mercurial > hg
comparison tests/test-unbundlehash.t @ 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 | 7a9cbb315d84 |
children | 4d2b9b304ad0 |
comparison
equal
deleted
inserted
replaced
25373:9793e52279a1 | 25374:c2d691542d6a |
---|---|
1 #require killdaemons | 1 #require killdaemons |
2 | 2 |
3 Test wire protocol unbundle with hashed heads (capability: unbundlehash) | 3 Test wire protocol unbundle with hashed heads (capability: unbundlehash) |
4 | |
5 $ cat << EOF >> $HGRCPATH | |
6 > [experimental] | |
7 > # This tests is intended for bundle1 only. | |
8 > # bundle2 carries the head information inside the bundle itself and | |
9 > # always uses 'force' as the heads value. | |
10 > bundle2-exp = False | |
11 > EOF | |
4 | 12 |
5 Create a remote repository. | 13 Create a remote repository. |
6 | 14 |
7 $ hg init remote | 15 $ hg init remote |
8 $ hg serve -R remote --config web.push_ssl=False --config web.allow_push=* -p $HGPORT -d --pid-file=hg1.pid -E error.log -A access.log | 16 $ hg serve -R remote --config web.push_ssl=False --config web.allow_push=* -p $HGPORT -d --pid-file=hg1.pid -E error.log -A access.log |