From 0ac4a447b05b7ebcd291000706d9d3dbb593fa11 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 10 Apr 2016 20:18:21 +0200 Subject: hg: set mercurial.url.has_https when hgwebfs extension is in use this allows the use of SSL/HTTPS even when python is not build with openssl support. --- sys/lib/python/hgext/hgwebfs.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/lib/python/hgext') diff --git a/sys/lib/python/hgext/hgwebfs.py b/sys/lib/python/hgext/hgwebfs.py index dbb529789..d4b46acb5 100644 --- a/sys/lib/python/hgext/hgwebfs.py +++ b/sys/lib/python/hgext/hgwebfs.py @@ -81,4 +81,5 @@ class Webopener: def webopener(ui, authinfo=None): return Webopener(); +mercurial.url.has_https = 1 mercurial.url.opener = webopener -- cgit v1.2.3