##// END OF EJS Templates
http: add a debug version of the push test...
Boris Feld -
r35714:925107e3 default
parent child Browse files
Show More
@@ -248,6 +248,53 b' test http authentication'
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 -
@@ -308,6 +355,16 b' test http authentication'
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)
310 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
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$
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
General Comments 0
You need to be logged in to leave comments. Login now