fix hgweb execution for mercurial versions prior 4.1

This commit is contained in:
Sebastian Sdorra
2018-04-06 14:01:00 +02:00
parent dd313036ff
commit 7ed4dbcf00

View File

@@ -36,7 +36,7 @@ from mercurial.hgweb import hgweb, wsgicgi
demandimport.enable()
u = uimod.ui.load()
u = uimod.ui()
# pass SCM_HTTP_POST_ARGS to enable experimental httppostargs protocol of mercurial
# SCM_HTTP_POST_ARGS is set by HgCGIServlet