# HG changeset patch # User Andrii Verbytskyi # Date 2024-07-03 16:34:19 # Node ID 0525138c450b7c295ccca3909f0e96b11c9bc1d2 # Parent 507df4abd106e37fb44a505a4a666a7279525649 feat: config change to enable httppostarguments for hg repo, resolves issue with push/pull on big hg repos diff --git a/vcsserver/scm_app.py b/vcsserver/scm_app.py --- a/vcsserver/scm_app.py +++ b/vcsserver/scm_app.py @@ -136,6 +136,9 @@ def make_hg_ui_from_config(repo_config): # make our hgweb quiet so it doesn't print output baseui.setconfig(b'ui', b'quiet', b'true') + # use POST requests with args instead of GET with headers - fixes issues with big repos with lots of branches + baseui.setconfig(b'experimental', b'httppostargs', b'true') + return baseui