##// END OF EJS Templates
sshpeer: log remote capabilities after protocol upgrade...
Gregory Szorc -
r36234:7218e93a default
parent child Browse files
Show More
@@ -313,6 +313,8 b' def _performhandshake(ui, stdin, stdout,'
313 if not capsline.startswith('capabilities: '):
313 if not capsline.startswith('capabilities: '):
314 badresponse()
314 badresponse()
315
315
316 ui.debug('remote: %s\n' % capsline)
317
316 caps.update(capsline.split(':')[1].split())
318 caps.update(capsline.split(':')[1].split())
317 # Trailing newline.
319 # Trailing newline.
318 stdout.read(1)
320 stdout.read(1)
@@ -484,6 +484,7 b' Send an upgrade request to a server that'
484 devel-peer-request: pairs: 81 bytes
484 devel-peer-request: pairs: 81 bytes
485 sending between command
485 sending between command
486 protocol upgraded to exp-ssh-v2-0001
486 protocol upgraded to exp-ssh-v2-0001
487 remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
487 url: ssh://user@dummy/server
488 url: ssh://user@dummy/server
488 local: no
489 local: no
489 pushable: yes
490 pushable: yes
@@ -500,6 +501,7 b' Verify the peer has capabilities'
500 devel-peer-request: pairs: 81 bytes
501 devel-peer-request: pairs: 81 bytes
501 sending between command
502 sending between command
502 protocol upgraded to exp-ssh-v2-0001
503 protocol upgraded to exp-ssh-v2-0001
504 remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
503 Main capabilities:
505 Main capabilities:
504 batch
506 batch
505 branchmap
507 branchmap
General Comments 0
You need to be logged in to leave comments. Login now