diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-10 20:18:21 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-10 20:18:21 +0200 |
commit | 0ac4a447b05b7ebcd291000706d9d3dbb593fa11 (patch) | |
tree | 15d51a6f6b5e2c72d59b39574744880a226574ca /sys/lib/python | |
parent | 3238f124b81e53762e5c2e021630de20bdb7cbd9 (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/python')
-rw-r--r-- | sys/lib/python/hgext/hgwebfs.py | 1 |
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 |