diff mercurial/hg.py @ 923:c7a3b88505cd

Add basic https support for pull
author mpm@selenic.com
date Tue, 16 Aug 2005 17:12:25 -0800
parents 1458d20df2a8
children b765e970c9ff
line wrap: on
line diff
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -2199,10 +2199,15 @@ class sshrepository:
         l = int(self.pipei.readline())
         return self.pipei.read(l) != ""
 
+class httpsrepository(httprepository):
+    pass
+
 def repository(ui, path=None, create=0):
     if path:
         if path.startswith("http://"):
             return httprepository(ui, path)
+        if path.startswith("https://"):
+            return httpsrepository(ui, path)
         if path.startswith("hg://"):
             return httprepository(ui, path.replace("hg://", "http://"))
         if path.startswith("old-http://"):