##// END OF EJS Templates
http: reuse Python's implementation of read/readline/readinto...
http: reuse Python's implementation of read/readline/readinto Since Python 3 already provides a working implementation of readline, there is no need for our own buffering implementation. Reduce the code to transfer accounting only.

File last commit:

r51590:e7ef11b7 default
r52722:c1ed5ee2 default
Show More
__main__.py
12 lines | 215 B | text/x-python | PythonLexer
def run():
from . import demandimport
with demandimport.tracing.log('hg script'):
demandimport.enable()
from . import dispatch
dispatch.run()
if __name__ == '__main__':
run()