69 $ cat ../errors.log |
69 $ cat ../errors.log |
70 |
70 |
71 Capacity testing |
71 Capacity testing |
72 =================== |
72 =================== |
73 |
73 |
74 $ curl --silent http://localhost:$HGPORT/?cmd=hello |
74 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
75 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 |
75 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 |
76 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities |
76 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
77 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) |
77 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) |
78 |
78 |
79 $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
79 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
80 bookmarks |
80 bookmarks |
81 namespaces |
81 namespaces |
82 obsolete |
82 obsolete |
83 phases |
83 phases |
84 |
84 |
127 |
127 |
128 Test disabling obsolete advertisement |
128 Test disabling obsolete advertisement |
129 =========================================== |
129 =========================================== |
130 (used by bitbucket to select which repo use evolve) |
130 (used by bitbucket to select which repo use evolve) |
131 |
131 |
132 $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
132 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
133 bookmarks |
133 bookmarks |
134 namespaces |
134 namespaces |
135 obsolete |
135 obsolete |
136 phases |
136 phases |
137 $ curl --silent http://localhost:$HGPORT/?cmd=hello |
137 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
138 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 |
138 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 |
139 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities |
139 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
140 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) |
140 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) |
141 |
141 |
142 $ echo '[__temporary__]' >> server/.hg/hgrc |
142 $ echo '[__temporary__]' >> server/.hg/hgrc |
143 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc |
143 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc |
144 $ $TESTDIR/killdaemons.py $DAEMON_PIDS |
144 $ $TESTDIR/killdaemons.py $DAEMON_PIDS |
145 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
145 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
146 $ cat hg.pid >> $DAEMON_PIDS |
146 $ cat hg.pid >> $DAEMON_PIDS |
147 |
147 |
148 $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
148 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
149 bookmarks |
149 bookmarks |
150 namespaces |
150 namespaces |
151 phases |
151 phases |
152 $ curl --silent http://localhost:$HGPORT/?cmd=hello |
152 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
153 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 |
153 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 |
154 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities |
154 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
155 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 (no-eol) |
155 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 (no-eol) |
156 |
156 |
157 $ echo 'advertiseobsolete=True' >> server/.hg/hgrc |
157 $ echo 'advertiseobsolete=True' >> server/.hg/hgrc |
158 $ $TESTDIR/killdaemons.py $DAEMON_PIDS |
158 $ $TESTDIR/killdaemons.py $DAEMON_PIDS |
159 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
159 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
160 $ cat hg.pid >> $DAEMON_PIDS |
160 $ cat hg.pid >> $DAEMON_PIDS |
161 |
161 |
162 $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
162 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
163 bookmarks |
163 bookmarks |
164 namespaces |
164 namespaces |
165 obsolete |
165 obsolete |
166 phases |
166 phases |
167 $ curl --silent http://localhost:$HGPORT/?cmd=hello |
167 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
168 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 |
168 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 |
169 $ curl --silent http://localhost:$HGPORT/?cmd=capabilities |
169 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
170 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) |
170 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) |