sapling/hgext/zeroconf
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 mail/hgweb: support service names for ports (issue2350) 2010-08-28 12:31:07 -04:00
Zeroconf.py zeroconf: Use BadDomainName exception instead of string exceptions 2010-06-23 10:45:53 +02:00