I recently got Mercurial running on my server, shared via Apache. When I browse to the repos via the web, I see a list of my repositories with Atom/RSS links, but no download buttons.

My question is, how do enable the purple "ZIP", "TAR", "BZ2" download buttons (example: http://hg.pablotron.org/)? I've been trying to find documentation for this, but must be looking in all the wrong places.

I am running Mercurial v1.6.3 on Ubuntu 10.04 with Apache 2.2.14. Thx!

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

From the hgrc manpage, put the following in your configuration file:

[web]
allow_archive = bz2, gz, zip 
link|improve this answer
Thx! Sometimes the obvious eludes... – caseyamcl Aug 30 '10 at 20:22
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.