grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
Add a version command and include the short commit hash in it
24 months ago, Gary Kramlich
2d8b599beeb4
file is
Executable
Add a version command and include the short commit hash in it
#!/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
)