mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
10 lines
253 B
Python
10 lines
253 B
Python
#!/usr/bin/env ${python}
|
|
|
|
import os
|
|
repositoryPath = os.environ['SCM_REPOSITORY_PATH']
|
|
|
|
from mercurial import demandimport; demandimport.enable()
|
|
from mercurial.hgweb import hgweb, wsgicgi
|
|
application = hgweb(repositoryPath)
|
|
wsgicgi.launch(application)
|