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.
This commit is contained in:
cinap_lenrek 2016-04-10 20:18:21 +02:00
parent 3238f124b8
commit 0ac4a447b0

View file

@ -81,4 +81,5 @@ class Webopener:
def webopener(ui, authinfo=None):
return Webopener();
mercurial.url.has_https = 1
mercurial.url.opener = webopener