##// 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 from .utils import (
37 from .utils import (
38 interfaceutil,
38 interfaceutil,
39 stringutil,
39 )
40 )
40
41
41 httplib = util.httplib
42 httplib = util.httplib
@@ -557,7 +558,10 b' def sendv2request(ui, opener, requestbui'
557 else:
558 else:
558 url += '/%s' % requests[0][0]
559 url += '/%s' % requests[0][0]
559
560
561 ui.debug('sending %d commands\n' % len(requests))
560 for command, args, f in requests:
562 for command, args, f in requests:
563 ui.debug('sending command %s: %s\n' % (
564 command, stringutil.pprint(args, indent=2)))
561 assert not list(handler.callcommand(command, args, f))
565 assert not list(handler.callcommand(command, args, f))
562
566
563 # TODO stream this.
567 # TODO stream this.
General Comments 0
You need to be logged in to leave comments. Login now