##// END OF EJS Templates
peer-request: include more details about batch commands...
Boris Feld -
r36963:4901d1e2 default
parent child Browse files
Show More
@@ -400,6 +400,13 b' class wirepeer(repository.legacypeer):'
400
400
401 Returns an iterator of the raw responses from the server.
401 Returns an iterator of the raw responses from the server.
402 """
402 """
403 ui = self.ui
404 if ui.debugflag and ui.configbool('devel', 'debug.peer-request'):
405 ui.debug('devel-peer-request: batched-content\n')
406 for op, args in req:
407 msg = 'devel-peer-request: - %s (%d arguments)\n'
408 ui.debug(msg % (op, len(args)))
409
403 rsp = self._callstream("batch", cmds=encodebatchcmds(req))
410 rsp = self._callstream("batch", cmds=encodebatchcmds(req))
404 chunk = rsp.read(1024)
411 chunk = rsp.read(1024)
405 work = [chunk]
412 work = [chunk]
@@ -257,6 +257,9 b' test http authentication'
257 http auth: user user, password ****
257 http auth: user user, password ****
258 devel-peer-request: finished in *.???? seconds (200) (glob)
258 devel-peer-request: finished in *.???? seconds (200) (glob)
259 query 1; heads
259 query 1; heads
260 devel-peer-request: batched-content
261 devel-peer-request: - heads (0 arguments)
262 devel-peer-request: - known (1 arguments)
260 sending batch command
263 sending batch command
261 devel-peer-request: GET http://localhost:$HGPORT2/?cmd=batch
264 devel-peer-request: GET http://localhost:$HGPORT2/?cmd=batch
262 devel-peer-request: Vary X-HgArg-1,X-HgProto-1
265 devel-peer-request: Vary X-HgArg-1,X-HgProto-1
@@ -501,6 +501,9 b' debug output'
501 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
501 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
502 remote: 1 (sshv1 !)
502 remote: 1 (sshv1 !)
503 query 1; heads
503 query 1; heads
504 devel-peer-request: batched-content
505 devel-peer-request: - heads (0 arguments)
506 devel-peer-request: - known (1 arguments)
504 devel-peer-request: batch
507 devel-peer-request: batch
505 devel-peer-request: cmds: 141 bytes
508 devel-peer-request: cmds: 141 bytes
506 sending batch command
509 sending batch command
General Comments 0
You need to be logged in to leave comments. Login now