mercurial/hg.py
changeset 923 c7a3b88505cd
parent 919 1458d20df2a8
child 926 b765e970c9ff
--- 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://"):