Add basic https support for pull
authormpm@selenic.com
Tue, 16 Aug 2005 17:12:25 -0800
changeset 923 c7a3b88505cd
parent 922 f4c7ad186983
child 924 ab681ea2857e
Add basic https support for pull
mercurial/hg.py
--- a/mercurial/hg.py	Tue Aug 16 15:55:33 2005 -0800
+++ b/mercurial/hg.py	Tue Aug 16 17:12:25 2005 -0800
@@ -2199,10 +2199,15 @@
         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://"):