Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 23:56:19 +0200] rev 12078
util: use 'auditor' as consistent name for path auditors
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 23:56:19 +0200] rev 12077
util: add optional path auditor argument to canonpath
The canonpath function will default to creating its own path auditor,
but in some cases it will be useful to use a specialized auditor,
e.g., one that wont abort if a path lies within a subrepository.
Brodie Rao <brodie@bitheap.org> [Sat, 28 Aug 2010 12:31:07 -0400] rev 12076
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.