grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
Use Go 1.22 and update dependencies
default
tip
2 months ago, aklitzing
f33f223bc8fe
file is
Executable
Use Go 1.22 and update dependencies
Reviewed at https://reviews.imfreedom.org/r/2949/
#!/usr/bin/env python3
config
=
b
'{{.HGWEB_CONFIG}}'
from
mercurial
import
demandimport
;
demandimport
.
enable
()
from
mercurial.hgweb
import
hgweb
,
wsgicgi
application
=
hgweb
(
config
)
wsgicgi
.
launch
(
application
)