comparison tests/test-http.t @ 35696:925107e37619

http: add a debug version of the push test This will be useful to test further debugging capabilities in coming changesets.
author Boris Feld <boris.feld@octobus.net>
date Fri, 12 Jan 2018 10:57:29 +0000
parents 44b8b5ad30eb
children 0c4b23ccf1a5
comparison
equal deleted inserted replaced
35695:dd672e3d059f 35696:925107e37619
246 remote: adding changesets 246 remote: adding changesets
247 remote: adding manifests 247 remote: adding manifests
248 remote: adding file changes 248 remote: adding file changes
249 remote: added 1 changesets with 1 changes to 1 files 249 remote: added 1 changesets with 1 changes to 1 files
250 $ hg rollback -q 250 $ hg rollback -q
251 $ hg -R dest push http://user:pass@localhost:$HGPORT2/ --debug
252 pushing to http://user:***@localhost:$HGPORT2/
253 using http://localhost:$HGPORT2/
254 http auth: user user, password ****
255 sending capabilities command
256 query 1; heads
257 sending batch command
258 searching for changes
259 all remote heads known locally
260 preparing listkeys for "phases"
261 sending listkeys command
262 http auth: user user, password ****
263 received listkey for "phases": 58 bytes
264 checking for updated bookmarks
265 preparing listkeys for "bookmarks"
266 sending listkeys command
267 received listkey for "bookmarks": 0 bytes
268 sending branchmap command
269 sending branchmap command
270 preparing listkeys for "bookmarks"
271 sending listkeys command
272 received listkey for "bookmarks": 0 bytes
273 1 changesets found
274 list of changesets:
275 7f4e523d01f2cc3765ac8934da3d14db775ff872
276 bundle2-output-bundle: "HG20", 5 parts total
277 bundle2-output-part: "replycaps" 178 bytes payload
278 bundle2-output-part: "check:phases" 24 bytes payload
279 bundle2-output-part: "check:heads" streamed payload
280 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
281 bundle2-output-part: "phase-heads" 24 bytes payload
282 sending unbundle command
283 sending 986 bytes
284 bundle2-input-bundle: no-transaction
285 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
286 bundle2-input-part: "output" (advisory) (params: 0 advisory) supported
287 bundle2-input-part: total payload size 100
288 remote: adding changesets
289 remote: adding manifests
290 remote: adding file changes
291 remote: added 1 changesets with 1 changes to 1 files
292 bundle2-input-part: "output" (advisory) supported
293 bundle2-input-bundle: 2 parts total
294 preparing listkeys for "phases"
295 sending listkeys command
296 received listkey for "phases": 15 bytes
297 $ hg rollback -q
251 298
252 $ sed 's/.*] "/"/' < ../access.log 299 $ sed 's/.*] "/"/' < ../access.log
253 "GET /?cmd=capabilities HTTP/1.1" 200 - 300 "GET /?cmd=capabilities HTTP/1.1" 200 -
254 "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ 301 "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
255 "GET /?cmd=listkeys HTTP/1.1" 401 - x-hgarg-1:namespace=namespaces x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ 302 "GET /?cmd=listkeys HTTP/1.1" 401 - x-hgarg-1:namespace=namespaces x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
305 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ 352 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
306 "GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ 353 "GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
307 "GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ 354 "GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
308 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ 355 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
309 "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=666f726365* (glob) 356 "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=666f726365* (glob)
357 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
358 "GET /?cmd=capabilities HTTP/1.1" 200 -
359 "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D7f4e523d01f2cc3765ac8934da3d14db775ff872 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
360 "GET /?cmd=listkeys HTTP/1.1" 401 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
361 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
362 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
363 "GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
364 "GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
365 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
366 "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=666f726365 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
310 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ 367 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
311 368
312 $ cd .. 369 $ cd ..
313 370
314 clone of serve with repo in root and unserved subrepo (issue2970) 371 clone of serve with repo in root and unserved subrepo (issue2970)