mercurial/httprepo.py
changeset 7279 1f0f84660dea
parent 7270 2db33c1a5654
child 7280 810ca383da9c
equal deleted inserted replaced
7276:08dc0152bb5e 7279:1f0f84660dea
   213     def stream_out(self):
   213     def stream_out(self):
   214         return self.do_cmd('stream_out')
   214         return self.do_cmd('stream_out')
   215 
   215 
   216 class httpsrepository(httprepository):
   216 class httpsrepository(httprepository):
   217     def __init__(self, ui, path):
   217     def __init__(self, ui, path):
   218         if not has_https:
   218         if not url.has_https:
   219             raise util.Abort(_('Python support for SSL and HTTPS '
   219             raise util.Abort(_('Python support for SSL and HTTPS '
   220                                'is not installed'))
   220                                'is not installed'))
   221         httprepository.__init__(self, ui, path)
   221         httprepository.__init__(self, ui, path)
   222 
   222 
   223 def instance(ui, path, create):
   223 def instance(ui, path, create):