如何在我的Mercurial HGWEB中启用ZIP / TAR / BZ2下载button?

我最近在我的服务器上运行了Mercurial,通过Apache共享。 当我通过网页浏览到回购站时,我看到我的存储库列表与Atom / RSS链接,但没有下载button。

我的问题是,如何启用紫色的“ZIP”,“TAR”,“BZ2”下载button(例如: http : //hg.pablotron.org/ )? 我一直在试图find这个文件,但一定要看所有错误的地方。

我使用Apache 2.2.14在Ubuntu 10.04上运行Mercurial v1.6.3。 谢谢!

从hgrc联机帮助页中 ,将以下内容放入configuration文件中:

[web] allow_archive = bz2, gz, zip