summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-04-10 20:18:21 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-04-10 20:18:21 +0200
commit0ac4a447b05b7ebcd291000706d9d3dbb593fa11 (patch)
tree15d51a6f6b5e2c72d59b39574744880a226574ca /sys/lib
parent3238f124b81e53762e5c2e021630de20bdb7cbd9 (diff)
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.
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/python/hgext/hgwebfs.py1
1 files changed, 1 insertions, 0 deletions
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