Add archive download links to tip on main changeset list page
#!/usr/bin/env python## An example CGI script to use hgweb, edit as necessaryimportcgitb,os,syscgitb.enable()# sys.path.insert(0, "/path/to/python/lib") # if not a system-wide installfrommercurialimporthgwebh=hgweb.hgweb("/path/to/repo","repository name")h.run()