comparison tests/test-simple4server.t @ 963:f80e8e3c3726

simple4server: backport the bundle2 exchange
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 21 May 2014 12:01:28 -0700
parents b71b563b17de
children 59bc29c84ce0
comparison
equal deleted inserted replaced
962:d04a52f40f41 963:f80e8e3c3726
74 74
75 Capacity testing 75 Capacity testing
76 =================== 76 ===================
77 77
78 $ curl --silent http://localhost:$HGPORT/?cmd=hello 78 $ curl --silent http://localhost:$HGPORT/?cmd=hello
79 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 79 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_b2x_obsmarkers_0
80 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities 80 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities
81 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 (no-eol) 81 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_b2x_obsmarkers_0 (no-eol)
82 82
83 $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort 83 $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort
84 bookmarks 84 bookmarks
85 namespaces 85 namespaces
86 obsolete 86 obsolete
149 bookmarks 149 bookmarks
150 namespaces 150 namespaces
151 obsolete 151 obsolete
152 phases 152 phases
153 $ curl --silent http://localhost:$HGPORT/?cmd=hello 153 $ curl --silent http://localhost:$HGPORT/?cmd=hello
154 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 154 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_b2x_obsmarkers_0
155 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities 155 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities
156 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 (no-eol) 156 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_b2x_obsmarkers_0 (no-eol)
157 157
158 $ echo '[__temporary__]' >> server/.hg/hgrc 158 $ echo '[__temporary__]' >> server/.hg/hgrc
159 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc 159 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc
160 $ $TESTDIR/killdaemons.py 160 $ $TESTDIR/killdaemons.py
161 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log 161 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
179 bookmarks 179 bookmarks
180 namespaces 180 namespaces
181 obsolete 181 obsolete
182 phases 182 phases
183 $ curl --silent http://localhost:$HGPORT/?cmd=hello 183 $ curl --silent http://localhost:$HGPORT/?cmd=hello
184 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 184 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_b2x_obsmarkers_0
185 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities 185 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities
186 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 (no-eol) 186 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_b2x_obsmarkers_0 (no-eol)