73 $ cat ../errors.log |
73 $ cat ../errors.log |
74 |
74 |
75 Capacity testing |
75 Capacity testing |
76 =================== |
76 =================== |
77 |
77 |
78 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
78 $ curl -s http://localhost:$HGPORT/?cmd=hello |
79 capabilities: * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (glob) |
79 capabilities: * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (glob) |
80 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
80 $ curl -s http://localhost:$HGPORT/?cmd=capabilities |
81 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) |
81 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) |
82 |
82 |
83 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
83 $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
84 bookmarks |
84 bookmarks |
85 namespaces |
85 namespaces |
86 obsolete |
86 obsolete |
87 phases |
87 phases |
88 |
88 |
131 |
131 |
132 Test disabling obsolete advertisement |
132 Test disabling obsolete advertisement |
133 =========================================== |
133 =========================================== |
134 (used by bitbucket to select which repo use evolve) |
134 (used by bitbucket to select which repo use evolve) |
135 |
135 |
136 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
136 $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
137 bookmarks |
137 bookmarks |
138 namespaces |
138 namespaces |
139 obsolete |
139 obsolete |
140 phases |
140 phases |
141 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
141 $ curl -s http://localhost:$HGPORT/?cmd=hello |
142 capabilities: * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (glob) |
142 capabilities: * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (glob) |
143 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
143 $ curl -s http://localhost:$HGPORT/?cmd=capabilities |
144 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) |
144 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) |
145 |
145 |
146 $ echo '[__temporary__]' >> server/.hg/hgrc |
146 $ echo '[__temporary__]' >> server/.hg/hgrc |
147 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc |
147 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc |
148 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |
148 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |
149 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
149 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
150 $ cat hg.pid >> $DAEMON_PIDS |
150 $ cat hg.pid >> $DAEMON_PIDS |
151 |
151 |
152 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
152 $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
153 bookmarks |
153 bookmarks |
154 namespaces |
154 namespaces |
155 phases |
155 phases |
156 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello | grep _evoext_pushobsmarkers_0 |
156 $ curl -s http://localhost:$HGPORT/?cmd=hello | grep _evoext_pushobsmarkers_0 |
157 [1] |
157 [1] |
158 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities | grep _evoext_pushobsmarkers_0 |
158 $ curl -s http://localhost:$HGPORT/?cmd=capabilities | grep _evoext_pushobsmarkers_0 |
159 [1] |
159 [1] |
160 |
160 |
161 $ echo 'advertiseobsolete=True' >> server/.hg/hgrc |
161 $ echo 'advertiseobsolete=True' >> server/.hg/hgrc |
162 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |
162 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |
163 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
163 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
164 $ cat hg.pid >> $DAEMON_PIDS |
164 $ cat hg.pid >> $DAEMON_PIDS |
165 |
165 |
166 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
166 $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
167 bookmarks |
167 bookmarks |
168 namespaces |
168 namespaces |
169 obsolete |
169 obsolete |
170 phases |
170 phases |
171 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
171 $ curl -s http://localhost:$HGPORT/?cmd=hello |
172 capabilities: * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (glob) |
172 capabilities: * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (glob) |
173 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
173 $ curl -s http://localhost:$HGPORT/?cmd=capabilities |
174 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) |
174 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) |