sapling/mercurial/hgweb
Brodie Rao d1905b7d87 mail/hgweb: support service names for ports (issue2350)
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.
2010-08-28 12:31:07 -04:00
..
__init__.py hgweb: make hgweb.hgweb a unified interface to hgweb/hgwebdir 2010-04-26 11:03:40 -05:00
common.py Merge with stable 2010-01-19 22:45:09 -06:00
hgweb_mod.py cleanup: remove unused imports 2010-08-27 13:32:38 -04:00
hgwebdir_mod.py hgweb: handle exception of misconfigured path on index page 2010-08-24 23:30:51 +09:00
protocol.py protocol: wrap non-string protocol responses in classes 2010-07-20 20:53:33 +02:00
request.py Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
server.py mail/hgweb: support service names for ports (issue2350) 2010-08-28 12:31:07 -04:00
webcommands.py cleanup: remove unused variables 2010-08-27 13:32:40 -04:00
webutil.py many, many trivial check-code fixups 2010-01-25 00:05:27 -06:00
wsgicgi.py wsgicgi: call close() on iterable to avoid resource leaks 2010-03-22 15:16:27 +01:00