From 7ed4dbcf002016a922c95db5157b771c037dcbb4 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Fri, 6 Apr 2018 14:01:00 +0200 Subject: [PATCH] fix hgweb execution for mercurial versions prior 4.1 --- .../scm-hg-plugin/src/main/resources/sonia/scm/python/hgweb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/hgweb.py b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/hgweb.py index ff2869044d..e2e7d8e931 100644 --- a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/hgweb.py +++ b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/hgweb.py @@ -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