173 |
173 |
174 $ hg --verbose debugwireproto http://$LOCALIP:$HGPORT << EOF |
174 $ hg --verbose debugwireproto http://$LOCALIP:$HGPORT << EOF |
175 > command listkeys |
175 > command listkeys |
176 > namespace namespaces |
176 > namespace namespaces |
177 > EOF |
177 > EOF |
178 s> sendall(*, 0): (glob) |
|
179 s> GET /?cmd=capabilities HTTP/1.1\r\n |
178 s> GET /?cmd=capabilities HTTP/1.1\r\n |
180 s> Accept-Encoding: identity\r\n |
179 s> Accept-Encoding: identity\r\n |
181 s> accept: application/mercurial-0.1\r\n |
180 s> accept: application/mercurial-0.1\r\n |
182 s> host: $LOCALIP:$HGPORT\r\n (glob) |
181 s> host: $LOCALIP:$HGPORT\r\n (glob) |
183 s> user-agent: mercurial/proto-1.0 (Mercurial *)\r\n (glob) |
182 s> user-agent: mercurial/proto-1.0 (Mercurial *)\r\n (glob) |
184 s> \r\n |
183 s> \r\n |
185 s> makefile('rb', None) |
184 s> makefile('rb', None) |
186 s> readline() -> 36: |
|
187 s> HTTP/1.1 200 Script output follows\r\n |
185 s> HTTP/1.1 200 Script output follows\r\n |
188 s> readline() -> 28: |
|
189 s> Server: testing stub value\r\n |
186 s> Server: testing stub value\r\n |
190 s> readline() -> *: (glob) |
|
191 s> Date: $HTTP_DATE$\r\n |
187 s> Date: $HTTP_DATE$\r\n |
192 s> readline() -> 41: |
|
193 s> Content-Type: application/mercurial-0.1\r\n |
188 s> Content-Type: application/mercurial-0.1\r\n |
194 s> readline() -> 21: |
|
195 s> Content-Length: *\r\n (glob) |
189 s> Content-Length: *\r\n (glob) |
196 s> readline() -> 2: |
190 s> \r\n |
197 s> \r\n |
191 s> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=$BUNDLE2_COMPRESSIONS$ |
198 s> read(*) -> *: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=$BUNDLE2_COMPRESSIONS$ (glob) |
|
199 sending listkeys command |
192 sending listkeys command |
200 s> sendall(*, 0): (glob) |
|
201 s> GET /?cmd=listkeys HTTP/1.1\r\n |
193 s> GET /?cmd=listkeys HTTP/1.1\r\n |
202 s> Accept-Encoding: identity\r\n |
194 s> Accept-Encoding: identity\r\n |
203 s> vary: X-HgArg-1,X-HgProto-1\r\n |
195 s> vary: X-HgArg-1,X-HgProto-1\r\n |
204 s> x-hgarg-1: namespace=namespaces\r\n |
196 s> x-hgarg-1: namespace=namespaces\r\n |
205 s> x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n |
197 s> x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n |
206 s> accept: application/mercurial-0.1\r\n |
198 s> accept: application/mercurial-0.1\r\n |
207 s> host: $LOCALIP:$HGPORT\r\n (glob) |
199 s> host: $LOCALIP:$HGPORT\r\n (glob) |
208 s> user-agent: mercurial/proto-1.0 (Mercurial *)\r\n (glob) |
200 s> user-agent: mercurial/proto-1.0 (Mercurial *)\r\n (glob) |
209 s> \r\n |
201 s> \r\n |
210 s> makefile('rb', None) |
202 s> makefile('rb', None) |
211 s> readline() -> 36: |
|
212 s> HTTP/1.1 200 Script output follows\r\n |
203 s> HTTP/1.1 200 Script output follows\r\n |
213 s> readline() -> 28: |
|
214 s> Server: testing stub value\r\n |
204 s> Server: testing stub value\r\n |
215 s> readline() -> *: (glob) |
|
216 s> Date: $HTTP_DATE$\r\n |
205 s> Date: $HTTP_DATE$\r\n |
217 s> readline() -> 41: |
|
218 s> Content-Type: application/mercurial-0.1\r\n |
206 s> Content-Type: application/mercurial-0.1\r\n |
219 s> readline() -> 20: |
|
220 s> Content-Length: 30\r\n |
207 s> Content-Length: 30\r\n |
221 s> readline() -> 2: |
208 s> \r\n |
222 s> \r\n |
|
223 s> read(30) -> 30: |
|
224 s> bookmarks \n |
209 s> bookmarks \n |
225 s> namespaces \n |
210 s> namespaces \n |
226 s> phases |
211 s> phases |
227 response: bookmarks \nnamespaces \nphases |
212 response: bookmarks \nnamespaces \nphases |
228 |
213 |
233 > accept: application/mercurial-0.1 |
218 > accept: application/mercurial-0.1 |
234 > user-agent: mercurial/proto-1.0 (Mercurial 42) |
219 > user-agent: mercurial/proto-1.0 (Mercurial 42) |
235 > x-hgarg-1: namespace=namespaces |
220 > x-hgarg-1: namespace=namespaces |
236 > EOF |
221 > EOF |
237 using raw connection to peer |
222 using raw connection to peer |
238 s> sendall(*, 0): (glob) |
|
239 s> GET /?cmd=listkeys HTTP/1.1\r\n |
223 s> GET /?cmd=listkeys HTTP/1.1\r\n |
240 s> Accept-Encoding: identity\r\n |
224 s> Accept-Encoding: identity\r\n |
241 s> accept: application/mercurial-0.1\r\n |
225 s> accept: application/mercurial-0.1\r\n |
242 s> user-agent: mercurial/proto-1.0 (Mercurial 42)\r\n |
226 s> user-agent: mercurial/proto-1.0 (Mercurial 42)\r\n |
243 s> x-hgarg-1: namespace=namespaces\r\n |
227 s> x-hgarg-1: namespace=namespaces\r\n |
244 s> host: $LOCALIP:$HGPORT\r\n (glob) |
228 s> host: $LOCALIP:$HGPORT\r\n (glob) |
245 s> \r\n |
229 s> \r\n |
246 s> makefile('rb', None) |
230 s> makefile('rb', None) |
247 s> readline() -> 36: |
|
248 s> HTTP/1.1 200 Script output follows\r\n |
231 s> HTTP/1.1 200 Script output follows\r\n |
249 s> readline() -> 28: |
|
250 s> Server: testing stub value\r\n |
232 s> Server: testing stub value\r\n |
251 s> readline() -> *: (glob) |
|
252 s> Date: $HTTP_DATE$\r\n |
233 s> Date: $HTTP_DATE$\r\n |
253 s> readline() -> 41: |
|
254 s> Content-Type: application/mercurial-0.1\r\n |
234 s> Content-Type: application/mercurial-0.1\r\n |
255 s> readline() -> 20: |
|
256 s> Content-Length: 30\r\n |
235 s> Content-Length: 30\r\n |
257 s> readline() -> 2: |
236 s> \r\n |
258 s> \r\n |
|
259 s> read(30) -> 30: |
|
260 s> bookmarks \n |
237 s> bookmarks \n |
261 s> namespaces \n |
238 s> namespaces \n |
262 s> phases |
239 s> phases |
263 |
240 |
264 $ killdaemons.py |
241 $ killdaemons.py |