[web] allow_archive question

Jeffrey Cunningham jeffrey.k.cunningham at boeing.com
Tue Feb 26 16:28:00 CST 2008


I'll try not to be a pest, but I'm struggling with one other thing. My 
repository is working via the apache server, but only as individual 
files. What I would like to have is the tabs I see on other repository 
sites (like yours) for grabbing latest bz2, zip, tgz sets.

I realize that this isn't the preferred method for someone getting a 
copy of the code - they should clone their own. But some people who will 
want to use the code are not developers and won't want (or be able) to 
install mercurial, so it would be great for them to be able to grab the 
latest snapshot at any time.

I couldn't figure out how to do this from the unofficial manual without 
going to the multi-repository hgwebdir.cgi script. So I used that (my 
local one this time). I configured hgweb.config like this:

[paths]
squaxin = /home/jcunningham/turner/iad/squaxin

[web]
style = gitweb
allow_pull = yes
allow_archive = bz2 gz zip


But I don't get any tabs. I'm probably missing something real dumb. Can 
someone tell me how to turn them on?

--Jeff


More information about the Mercurial mailing list