diff mercurial/sshpeer.py @ 36254:7218e93ade47

sshpeer: log remote capabilities after protocol upgrade This helps reduce variance with version 1 and will help prevent test output divergence as we start testing protocol version 2 more widely. Differential Revision: https://phab.mercurial-scm.org/D2205
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 08 Feb 2018 11:39:23 -0800
parents 223ed0b53f08
children 7f8f74531b0b
line wrap: on
line diff
--- a/mercurial/sshpeer.py	Mon Feb 12 16:33:54 2018 -0800
+++ b/mercurial/sshpeer.py	Thu Feb 08 11:39:23 2018 -0800
@@ -313,6 +313,8 @@
         if not capsline.startswith('capabilities: '):
             badresponse()
 
+        ui.debug('remote: %s\n' % capsline)
+
         caps.update(capsline.split(':')[1].split())
         # Trailing newline.
         stdout.read(1)