grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
add a switch to disable the cache with it forced off right now as apparently nothing ever expires right now
2020-04-28, Gary Kramlich
6b8a0acef0f0
file is
Executable
add a switch to disable the cache with it forced off right now as apparently nothing ever expires right now
#!/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
)