##// END OF EJS Templates
listkey: display the size of the listkey payload in a debug message...
Pierre-Yves David -
r25339:c50655b9 default
parent child Browse files
Show More
@@ -324,6 +324,8 b' class wirepeer(peer.peerrepository):'
324 self.ui.debug('preparing listkeys for "%s"\n' % namespace)
324 self.ui.debug('preparing listkeys for "%s"\n' % namespace)
325 yield {'namespace': encoding.fromlocal(namespace)}, f
325 yield {'namespace': encoding.fromlocal(namespace)}, f
326 d = f.value
326 d = f.value
327 self.ui.debug('received listkey for "%s": %i bytes\n'
328 % (namespace, len(d)))
327 yield pushkeymod.decodekeys(d)
329 yield pushkeymod.decodekeys(d)
328
330
329 def stream_out(self):
331 def stream_out(self):
@@ -457,8 +457,10 b' debug output'
457 remote: 1
457 remote: 1
458 preparing listkeys for "bookmarks"
458 preparing listkeys for "bookmarks"
459 sending listkeys command
459 sending listkeys command
460 received listkey for "bookmarks": 45 bytes
460 preparing listkeys for "bookmarks"
461 preparing listkeys for "bookmarks"
461 sending listkeys command
462 sending listkeys command
463 received listkey for "bookmarks": 45 bytes
462 query 1; heads
464 query 1; heads
463 sending batch command
465 sending batch command
464 searching for changes
466 searching for changes
@@ -466,6 +468,7 b' debug output'
466 no changes found
468 no changes found
467 preparing listkeys for "phases"
469 preparing listkeys for "phases"
468 sending listkeys command
470 sending listkeys command
471 received listkey for "phases": 15 bytes
469 checking for updated bookmarks
472 checking for updated bookmarks
470
473
471 $ cd ..
474 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now