##// END OF EJS Templates
wireprotoserver: don't import symbol from hgweb.common...
wireprotoserver: don't import symbol from hgweb.common Importing hgweb.common requires importing hgweb. hgweb/__init__.py contains a bit of code and does imports of large parts of the hgweb.* module tree. All we need is a constant defining the integer status code for HTTP OK. So just redefine HTTP_OK in wireprotoserver.py and avoid the excessive imports. Differential Revision: https://phab.mercurial-scm.org/D1967
Gregory Szorc -
r35876:1b76a9e0 default
Show More
Name Size Modified Last Commit Author
/ mercurial / help / internals
bundles.txt Loading ...
censor.txt Loading ...
changegroups.txt Loading ...
config.txt Loading ...
requirements.txt Loading ...
revlogs.txt Loading ...
wireprotocol.txt Loading ...