hg serve: multiple repos?
L. David Baron
dbaron at dbaron.org
Tue Apr 1 15:29:02 CDT 2008
On Sunday 2008-03-30 11:11 -0700, Ian Zimmerman wrote:
> Hi, the manpage says "hg serve" can be made aware of multiple
> repositories by means of a --webdir-conf=FILE option. However, the
> format of the file thus specified doesn't seem to be documented
> anywhere, and my weak googling has not turned anything, either. Is the
> format the same as for hgwebdir.cgi? If so, the manpage should at least
> say that.
The format does seem to be the same as for hgwebdir.cgi. I've been
using it this way [*] with hg serve (partly to prevent myself from
accidentally serving the wrong repository, and partly so I don't
have to stop and start hg serve commands as often).
-David
[*] Actually, I've been using a "webdir_conf = " line in the [web]
section of my ~/.hgrc .
--
L. David Baron http://dbaron.org/
Mozilla Corporation http://www.mozilla.com/
More information about the Mercurial
mailing list