##// END OF EJS Templates
hgweb: all protocol functions have become generators...
hgweb: all protocol functions have become generators Using the write() callable supplied by the start_response() call is frowned upon by the WSGI spec, returning an iterable over the content chunks is the recommended way. Be aware, though: returning many small chunks will slow down responses, because the server has to flush each chunk separately.

File last commit:

r5525:dcbda0c4 default
r6784:18c429ea default
Show More
test-doctest.py
12 lines | 229 B | text/x-python | PythonLexer
Benoit Boissinot
[extendedchangelog] encode/decode function...
r3232 import doctest
import mercurial.changelog
# test doctest from changelog
doctest.testmod(mercurial.changelog)
Alexis S. L. Carvalho
httprepo: quote the path part of the URL...
r5066 import mercurial.httprepo
doctest.testmod(mercurial.httprepo)
Manuel Holtgrewe
Do not display passwords with pull/push/incoming/outgoing...
r5525
import mercurial.util
doctest.testmod(mercurial.util)