grim/hgkeeper

file isExecutable
Add an HGK_REPOSITORY environment variable containing the relative path to the repository when running hg commands
#!/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)