Why aren't my archive opts shown (hgwebdir)?

Alexis S. L. Carvalho alexis at cecm.usp.br
Fri Jan 18 10:43:37 CST 2008


Thus spake Neal Becker:
> Setting up a new hgwebdir (apache2).  It's working, but even though
> hgweb.config says:
> 
> [web]
> allow_archive = bz2 gz zip
> style = gitweb
> 
> The archive options don't seem to show up in the web page.  What could be
> wrong?

hgweb.config is not a hgrc file.  The only [web] options recognized in
hgweb.config are motd, style and stripes, and they only work in the
index page (I would even like to deprecate this whole section).

Try to put that in a global hgrc file or in <repo>/.hg/hgrc .

Alexis


More information about the Mercurial mailing list