comparison tests/test-simple4server.t @ 1097:580a2d838996

pull: use discovery to pull less obsmarkers through bundle2 This hooks in the official API for bundle2
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 29 Aug 2014 16:13:19 +0200
parents 82873af0cf10
children be31c34bb341
comparison
equal deleted inserted replaced
1096:661f3a112f7a 1097:580a2d838996
71 71
72 Capacity testing 72 Capacity testing
73 =================== 73 ===================
74 74
75 $ curl --silent http://localhost:$HGPORT/?cmd=hello 75 $ curl --silent http://localhost:$HGPORT/?cmd=hello
76 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 76 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_getbundle_obscommon
77 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities 77 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities
78 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) 78 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_getbundle_obscommon (no-eol)
79 79
80 $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort 80 $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort
81 bookmarks 81 bookmarks
82 namespaces 82 namespaces
83 obsolete 83 obsolete
134 bookmarks 134 bookmarks
135 namespaces 135 namespaces
136 obsolete 136 obsolete
137 phases 137 phases
138 $ curl --silent http://localhost:$HGPORT/?cmd=hello 138 $ curl --silent http://localhost:$HGPORT/?cmd=hello
139 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 139 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_getbundle_obscommon
140 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities 140 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities
141 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) 141 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_getbundle_obscommon (no-eol)
142 142
143 $ echo '[__temporary__]' >> server/.hg/hgrc 143 $ echo '[__temporary__]' >> server/.hg/hgrc
144 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc 144 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc
145 $ $TESTDIR/killdaemons.py 145 $ $TESTDIR/killdaemons.py
146 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log 146 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
164 bookmarks 164 bookmarks
165 namespaces 165 namespaces
166 obsolete 166 obsolete
167 phases 167 phases
168 $ curl --silent http://localhost:$HGPORT/?cmd=hello 168 $ curl --silent http://localhost:$HGPORT/?cmd=hello
169 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 169 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_getbundle_obscommon
170 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities 170 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities
171 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) 171 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_getbundle_obscommon (no-eol)