sapling/mercurial/hgweb
Stephen Deasey b6ba89dcec hgweb: clarify which address and port can/cannot be bound at startup (bug 769)
The error message at startup when the address/port could not be bound
was confusing:

    hg serve
    abort: cannot start server: Address already in use

Be more explicit:

    $ hg serve -a localhost
    abort: cannot start server at 'localhost:8000': Address already in use

Also be more explicit on success, showing hostname and ip address/port:

    $ hg -v serve -a localhost -p 80
    listening at http://localhost/ (127.0.0.1:80)


We are careful to handle a missconfigured machine whose hostname does not
resolve, falling back to the address given at the command line.

Remove a dead-code error message.
2008-03-10 19:25:34 +00:00
..
__init__.py Replace demandload with new demandimport 2006-12-13 13:27:09 -06:00
common.py merged Edward Lee's line anchors patch 2008-02-15 19:44:54 +01:00
hgweb_mod.py hgweb_mod: add branch helper functions to use in templates 2008-03-13 23:45:35 +01:00
hgwebdir_mod.py Support web.baseurl in hgwebdir, overriding SCRIPT_NAME 2008-03-08 17:19:18 -08:00
protocol.py Remove unused imports 2008-03-06 22:23:41 +01:00
request.py Remove unused imports 2008-03-06 22:23:41 +01:00
server.py hgweb: clarify which address and port can/cannot be bound at startup (bug 769) 2008-03-10 19:25:34 +00:00
webcommands.py Avoid importing mercurial.node/mercurial.repo stuff from mercurial.hg 2008-03-06 22:51:16 +01:00
wsgicgi.py Fix style nit and add some comments to tests. 2007-12-02 10:12:26 +01:00