# -------------------------- # hgweb.py # -------------------------- from mercurial.hgweb.hgweb_mod import hgweb from mercurial.hgweb.hgwebdir_mod import hgwebdir CONFIG = '/home/martyn/hgweb.config' application = hgwebdir(CONFIG) # -------------------------- # hgweb.config # -------------------------- [ui] username = martyn editor = vim [web] baseurl =/. style= gitweb push_ssl = false allow_push = * [paths] repo1 = /home/martyn/repo1/ repo2 = /home/martyn/repo2/ # -------------------------- # Now run # -------------------------- gunicorn -w 3 hgweb:application