grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
Add support for repository specific hgrc files. Fixes HGKEEPER-2
2020-11-12, Gary Kramlich
e6f733f18b86
file is
Executable
Add support for repository specific hgrc files. Fixes HGKEEPER-2
#!/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
)