changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > home / hgweb.py

changeset 53: d25f982fb8a6
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 20 Jul 2024 22:31:54 -0400
permissions: -rwxr-xr-x
description: init vc
1 #!/usr/bin/env python3
2 config = b"/home/vc/hgweb.conf"
3 # enable demandloading to reduce startup time
4 from mercurial import demandimport; demandimport.enable()
5 from mercurial.hgweb import hgweb, wsgicgi
6 app = hgweb(config)
7 wsgicgi.launch(app)