diff tests/test-ssh.t @ 25339:c50655b9c856

listkey: display the size of the listkey payload in a debug message This is a useful information to have in general and we already have debug output related to listkeys. I'm planning to play around with massive amount of phases roots and bookmarks so having this data in debug will be very useful. This already got me to spot that one of the Logilab's review repo is exchanging 65KB of phases data during each exchanges.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 28 May 2015 23:49:19 -0700
parents 405303df6a2a
children d0f1d8b4de57
line wrap: on
line diff
--- a/tests/test-ssh.t	Fri May 29 00:09:36 2015 -0700
+++ b/tests/test-ssh.t	Thu May 28 23:49:19 2015 -0700
@@ -457,8 +457,10 @@
   remote: 1
   preparing listkeys for "bookmarks"
   sending listkeys command
+  received listkey for "bookmarks": 45 bytes
   preparing listkeys for "bookmarks"
   sending listkeys command
+  received listkey for "bookmarks": 45 bytes
   query 1; heads
   sending batch command
   searching for changes
@@ -466,6 +468,7 @@
   no changes found
   preparing listkeys for "phases"
   sending listkeys command
+  received listkey for "phases": 15 bytes
   checking for updated bookmarks
 
   $ cd ..