grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
Eval symlink of repository directory
14 months ago, aklitzing
dca75ada402c
file is
Executable
Eval symlink of repository directory
Otherwise "hgkeeper once" cannot find any repository if the absReposPath
is a symlink.
Reviewed at https://reviews.imfreedom.org/r/2437/
#!/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
)