Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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