changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > home / hgweb.wsgi

changeset 60: 64f785aa94f5
author: Richard Westhaver <ellis@rwest.io>
date: Sun, 21 Jul 2024 16:40:21 -0400
permissions: -rwxr-xr-x
description: hgweb cleanup
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)