changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > home / hgweb.wsgi

changeset 91: 2384be230b9f
parent: 64f785aa94f5
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 03 Sep 2024 21:39:50 -0400
permissions: -rwxr-xr-x
description: update
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 application = hgweb(config)
7 wsgicgi.launch(application)