mercurial/sshpeer.py
branchstable
changeset 37813 58bbd14b0c62
parent 37785 b4d85bc122bd
child 38475 67dc32d4e790
equal deleted inserted replaced
37812:91b717e2cafa 37813:58bbd14b0c62
   259         if ui.configbool('experimental', 'sshpeer.advertise-v2'):
   259         if ui.configbool('experimental', 'sshpeer.advertise-v2'):
   260             ui.debug('sending upgrade request: %s %s\n' % (token, upgradecaps))
   260             ui.debug('sending upgrade request: %s %s\n' % (token, upgradecaps))
   261             handshake.insert(0, 'upgrade %s %s\n' % (token, upgradecaps))
   261             handshake.insert(0, 'upgrade %s %s\n' % (token, upgradecaps))
   262 
   262 
   263         if requestlog:
   263         if requestlog:
   264             ui.debug('devel-peer-request: hello\n')
   264             ui.debug('devel-peer-request: hello+between\n')
       
   265             ui.debug('devel-peer-request:   pairs: %d bytes\n' % len(pairsarg))
   265         ui.debug('sending hello command\n')
   266         ui.debug('sending hello command\n')
   266         if requestlog:
       
   267             ui.debug('devel-peer-request: between\n')
       
   268             ui.debug('devel-peer-request:   pairs: %d bytes\n' % len(pairsarg))
       
   269         ui.debug('sending between command\n')
   267         ui.debug('sending between command\n')
   270 
   268 
   271         stdin.write(''.join(handshake))
   269         stdin.write(''.join(handshake))
   272         stdin.flush()
   270         stdin.flush()
   273     except IOError:
   271     except IOError: