mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
d1905b7d87
This adds util.getport(port) which tries to parse port as an int, and failing that, looks it up using socket.getservbyname(). Thus, the following will work: [smtp] port = submission [web] port = http This does not apply to ports in URLs used in clone, pull, etc. |
||
---|---|---|
.. | ||
__init__.py | ||
common.py | ||
hgweb_mod.py | ||
hgwebdir_mod.py | ||
protocol.py | ||
request.py | ||
server.py | ||
webcommands.py | ||
webutil.py | ||
wsgicgi.py |