[Bug 4699] New: hg serve doesn't use address or port from --web-conf file
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Mon Jun 1 16:23:44 UTC 2015
http://bz.selenic.com/show_bug.cgi?id=4699
Priority: normal
Bug ID: 4699
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: hg serve doesn't use address or port from --web-conf
file
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: engored at ya.ru
Hardware: PC
Status: UNCONFIRMED
Version: default branch
Component: hgweb
Product: Mercurial
It's hinted by hg help config that options in [web] section are used for hg
serve when the config file is passed with --web-conf to the command. I have
this in hgweb.conf:
[web]
address = localhost
port = 8002
style = monoblue
But:
$ hg serve --web-conf hgweb.conf
listening at http://neuro:8000/ (bound to *:8000)
So the specified address and port aren't respected. However,
$ curl http://localhost:8000/ | grep css
<link rel="stylesheet" href="/static/style-monoblue.css" type="text/css"
/>
That is, the file is read correctly, since the default style is switched to
monoblue.
hg version says 3.4+473-4cc3fb23881d
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list