##// END OF EJS Templates
httppeer: log commands for version 2 peer...
Gregory Szorc -
r39467:3fe028b6 default
parent child Browse files
Show More
@@ -36,6 +36,7 b' from . import ('
36 36 )
37 37 from .utils import (
38 38 interfaceutil,
39 stringutil,
39 40 )
40 41
41 42 httplib = util.httplib
@@ -557,7 +558,10 b' def sendv2request(ui, opener, requestbui'
557 558 else:
558 559 url += '/%s' % requests[0][0]
559 560
561 ui.debug('sending %d commands\n' % len(requests))
560 562 for command, args, f in requests:
563 ui.debug('sending command %s: %s\n' % (
564 command, stringutil.pprint(args, indent=2)))
561 565 assert not list(handler.callcommand(command, args, f))
562 566
563 567 # TODO stream this.
General Comments 0
You need to be logged in to leave comments. Login now